Skip to content

Commit

Permalink
Case and spelling corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Oct 27, 2024
1 parent cfae9a8 commit 3c07707
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions nbs/explains/minidataapi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@
"FastLite version\n",
"```python\n",
"from fastlite import *\n",
"db = Database('test.db')\n",
"db = database('test.db')\n",
"```\n",
":::\n",
"::: {.column width=\"79%\" style=\"padding-left: 10px;\"}\n",
"FastSQL version\n",
"```python\n",
"from fastsql import *\n",
"db = Database('postgres:...')\n",
"db = database('postgres:...')\n",
"```\n",
":::\n",
":::"
Expand Down Expand Up @@ -1169,9 +1169,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"If we set fields within the `.xtra` function to a particular value, then indexing is also filtered by those. This applies to every database method except for record creation. This makes it easier to limit users (or other objects) access to only things for which they have permission.\n",
"If we set fields within the `.xtra` function to a particular value, then indexing is also filtered by those. This applies to every database method except for record creation. This makes it easier to limit users (or other objects) access to only things for which they have permission. This is a one-way operation, once set it can't be undone in a particular table object.\n",
"\n",
"For example, if we query all our records below without setting values v ia the `.xtra` function, we can see todos for everyone. Pay special attention to the `id` values of all three records, as we are about to filter most of them away."
"For example, if we query all our records below without setting values via the `.xtra` function, we can see todos for everyone. Pay special attention to the `id` values of all three records, as we are about to filter most of them away."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion nbs/tutorials/quickstart_for_web_devs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@
"metadata": {},
"outputs": [],
"source": [
"db = Database(\"profiles.db\")\n",
"db = database(\"profiles.db\")\n",
"profiles = db.create(Profile, pk=\"email\")"
]
},
Expand Down

0 comments on commit 3c07707

Please sign in to comment.