Skip to content

Commit d24cad4

Browse files
committed
Update notebook contents
1 parent 5d674d3 commit d24cad4

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

languages/python/jupyter_notebook/CipherStash-Getting-Started.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
"metadata": {},
317317
"outputs": [],
318318
"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"
320320
]
321321
},
322322
{
@@ -643,7 +643,7 @@
643643
" )\n",
644644
")\n",
645645
"\n",
646-
"# data for JSONB Path queries\n",
646+
"# data for JSONB containment queries\n",
647647
"cur.execute(\"INSERT INTO examples (encrypted_jsonb) VALUES (%s)\",\n",
648648
" (\n",
649649
" CsJsonb({\"top\": {\"level1\": {\"level2\": [\"a\", \"b\", \"c\"]}}}, \"examples\", \"encrypted_jsonb\").to_db_format(),\n",
@@ -759,10 +759,10 @@
759759
"id": "c1f857e8-8fcb-46f0-b178-e17b580e7538",
760760
"metadata": {},
761761
"source": [
762-
"### JSONB\n",
762+
"### JSONB containment queries\n",
763763
"\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",
766766
"The following matches the JSONB field containing keys `top`, `level1` and `level2`:"
767767
]
768768
},
@@ -998,9 +998,9 @@
998998
"id": "e93cf011-66c7-4d93-a3c8-cb6ebe4b34ff",
999999
"metadata": {},
10001000
"source": [
1001-
"### Querying by JSONB path\n",
1001+
"### Querying by JSONB containment\n",
10021002
"\n",
1003-
"These records can be queried by JSONB path too:"
1003+
"These records can be queried by JSONB containment too:"
10041004
]
10051005
},
10061006
{

languages/python/jupyter_notebook/cs_models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
import sys
88
import os
99

10-
from cs_types import CsText, CsJsonb
11-
1210
class CsTypeDecorator(TypeDecorator):
1311
def __init__(self, table_name, column_name):
1412
super().__init__()

0 commit comments

Comments
 (0)