Skip to content

Commit dcf03d1

Browse files
authored
Merge pull request #269 from cyyeh/feature/update-doc
fix typo
2 parents dac2f2b + f66331f commit dcf03d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/doc/docs/data-privacy/cls.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SELECT
88
employee_id,
99
first_name,
1010
last_name,
11-
{% if context.user.attr.department = 'intern' %}
11+
{% if context.user.attr.department == 'intern' %}
1212
NULL AS salary
1313
{% else %}
1414
salary

packages/doc/docs/data-privacy/rls.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Moreover, you can generate an error if a user attempts to access data they are n
1313
For example, to prevent interns from accessing data after 2023, the following query can be employed:
1414

1515
```sql
16-
{% if context.user.attr.department = 'intern' and context.params.year < 2023 %}
16+
{% if context.user.attr.department == 'intern' and context.params.year < 2023 %}
1717
{% error "OUT_OF_LIMITED" %}
1818
{% endif %}
1919
```

0 commit comments

Comments
 (0)