Skip to content

Commit 0435535

Browse files
authored
Merge pull request #2609 from appwrite/db-operators-docs-examples
Add examples to db operators docs
2 parents 07744c9 + ffef098 commit 0435535

File tree

5 files changed

+2783
-1067
lines changed

5 files changed

+2783
-1067
lines changed

src/routes/blog/post/announcing-db-operators/+page.markdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ The feature is available now on Appwrite Cloud and will be coming soon to self-h
105105

106106
# More resources
107107

108-
- [Read the documentation to get started](/docs/products/databases/db-operators)
108+
- [Read the documentation to get started](/docs/products/databases/operators)
109109
- [Announcing Transactions API: Reliable multi-record writes across tables](/blog/post/announcing-transactions-api)
110110
- [Announcing Atomic numeric operations](/blog/post/announcing-atomic-numeric-operations)

src/routes/blog/post/race-conditions-db-operators/+page.markdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ As you can see, when 25 requests were fired simultaneously, only one request suc
6767

6868
# The solution
6969

70-
To combat this problem, we recently announced [a set of DB operators](/docs/products/databases/db-operators) that you can use, which would atomically operate on the server side, ensuring that operations in all requests are captured successfully.
70+
To combat this problem, we recently announced [a set of DB operators](/docs/products/databases/operators) that you can use, which would atomically operate on the server side, ensuring that operations in all requests are captured successfully.
7171

7272
Let's take a look at an example code snippet that shows an accurate representation of how you can increment the counter successfully at each request using DB operators.
7373

@@ -117,4 +117,4 @@ While learning to code, developers often find handling increments or any such op
117117

118118
- [Announcing DB operators: Update multiple fields without fetching the entire row](/blog/post/announcing-db-operators)
119119
- [Announcing Atomic numeric operations: Safe, server-side increments and decrements](/blog/post/announcing-atomic-numeric-operations)
120-
- [DB operators documentation](/docs/products/databases/db-operators)
120+
- [DB operators documentation](/docs/products/databases/operators)

src/routes/docs/products/databases/+layout.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
label: 'Relationships',
5252
href: '/docs/products/databases/relationships'
5353
},
54+
{
55+
label: 'Operators',
56+
href: '/docs/products/databases/operators',
57+
new: isNewUntil('31 Dec 2025')
58+
},
5459
{
5560
label: 'Geo queries',
5661
href: '/docs/products/databases/geo-queries',
@@ -105,11 +110,6 @@
105110
label: 'CSV imports',
106111
href: '/docs/products/databases/csv-imports',
107112
new: isNewUntil('31 Jul 2025')
108-
},
109-
{
110-
label: 'Database operators',
111-
href: '/docs/products/databases/db-operators',
112-
new: isNewUntil('31 Dec 2025')
113113
}
114114
]
115115
},

0 commit comments

Comments
 (0)