|
316 | 316 | "metadata": {}, |
317 | 317 | "outputs": [], |
318 | 318 | "source": [ |
319 | | - "! curl https://raw.githubusercontent.com/cipherstash/encrypt-query-language/refs/heads/main/release/cipherstash-encrypt-dsl.sql | PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres cipherstash_getting_started" |
| 319 | + "! curl https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-eql.sql | PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres cipherstash_getting_started" |
320 | 320 | ] |
321 | 321 | }, |
322 | 322 | { |
|
643 | 643 | " )\n", |
644 | 644 | ")\n", |
645 | 645 | "\n", |
646 | | - "# data for JSONB Path queries\n", |
| 646 | + "# data for JSONB containment queries\n", |
647 | 647 | "cur.execute(\"INSERT INTO examples (encrypted_jsonb) VALUES (%s)\",\n", |
648 | 648 | " (\n", |
649 | 649 | " CsJsonb({\"top\": {\"level1\": {\"level2\": [\"a\", \"b\", \"c\"]}}}, \"examples\", \"encrypted_jsonb\").to_db_format(),\n", |
|
759 | 759 | "id": "c1f857e8-8fcb-46f0-b178-e17b580e7538", |
760 | 760 | "metadata": {}, |
761 | 761 | "source": [ |
762 | | - "### JSONB\n", |
| 762 | + "### JSONB containment queries\n", |
763 | 763 | "\n", |
764 | | - "A record can be found using the JSONB path.\n", |
765 | | - "This only works with a path from the root with no missing nodes in the middle.\n", |
| 764 | + "A record can be found using the JSONB containment.\n", |
| 765 | + "This only works with a containment from the root with no missing nodes in the middle.\n", |
766 | 766 | "The following matches the JSONB field containing keys `top`, `level1` and `level2`:" |
767 | 767 | ] |
768 | 768 | }, |
|
998 | 998 | "id": "e93cf011-66c7-4d93-a3c8-cb6ebe4b34ff", |
999 | 999 | "metadata": {}, |
1000 | 1000 | "source": [ |
1001 | | - "### Querying by JSONB path\n", |
| 1001 | + "### Querying by JSONB containment\n", |
1002 | 1002 | "\n", |
1003 | | - "These records can be queried by JSONB path too:" |
| 1003 | + "These records can be queried by JSONB containment too:" |
1004 | 1004 | ] |
1005 | 1005 | }, |
1006 | 1006 | { |
|
0 commit comments