Skip to content

Commit aa9e748

Browse files
committed
docs(usage): add info about $ -prefixed methods
Closes #158
1 parent c137c01 commit aa9e748

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/content/en/building-the-query.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ Just for convenience, it's possible to make Static calls. We are going to use th
114114
</code-block>
115115
</code-group>
116116

117+
<alert type="info">It's also possible to use `$get` method or its alias `$all`,
118+
which handle and unwrap responses within "data".</alert>
119+
117120
## Retrieving a Single Record
118121

119122
To retrieve a single record from the database, we can use two methods:
@@ -163,6 +166,8 @@ To get the first **Post** of a list:
163166
</code-block>
164167
</code-group>
165168

169+
<alert type="info">It's also possible to use `$first` method, which handle and unwrap responses within "data".</alert>
170+
166171
### Finding a Specific Record
167172

168173
See the [API reference](/api/query-builder-methods#find)
@@ -205,6 +210,8 @@ To find a specific **Post**:
205210
</code-block>
206211
</code-group>
207212

213+
<alert type="info">It's also possible to use `$find` method, which handle and unwrap responses within "data".</alert>
214+
208215
## Filtering
209216

210217
One of the most important parts when building a query is filtering, so let's get started!

0 commit comments

Comments
 (0)