Skip to content

docs: update SUPABASE.md formating #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions SUPABASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ The data is encrypted based on the index term configurat ion.
The `LIKE` operation is always the same, even if the data is----- tokenised differently.
The different operators are kept to preserve the semantics of SQL statements in client applications.

### `ORDER BY`
### `ORDER BY`

Ordering requires wrapping the ordered column in the `eql_v2.order_by` function, lik e this:
Ordering requires wrapping the ordered column in the `eql_v2.order_by` function, like this:

```sql
SELECT * FROM users ORDER BY eql_v2.order_by(encrypted_created_at) DESC
`` ` PostgreSQL uses operators when handling `ORDER BY` operations. The `eql_v2.order_by` function behaves in the same way as the comparison operators, using the appropriate index type (ore_block_u64_8_256 , ore_cllw_u64_8, or ore_cllw_var_8) to determine the ordering.
SELECT * FROM users ORDER BY eql_v2.order_by(encrypted_created_at) DESC;
```

PostgreSQL uses operators when handling `ORDER BY` operations. The `eql_v2.order_by` function behaves in the same way as the comparison operators, using the appropriate index type (ore_block_u64_8_256, ore_cllw_u64_8, or ore_cllw_var_8) to determine the ordering.

### JSONB Support

Expand Down