Skip to content

Commit 4179041

Browse files
authored
Merge pull request #551 from devforth/feature/AdminForth/1395/minor-mistakes-in-doc-https-ad
fix: adjust formatting in Data API documentation for clarity
2 parents d2a8e94 + dbe2ec8 commit 4179041

File tree

1 file changed

+1
-4
lines changed
  • adminforth/documentation/docs/tutorial/03-Customization

1 file changed

+1
-4
lines changed

adminforth/documentation/docs/tutorial/03-Customization/11-dataApi.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,8 @@ const usersWithNoUgcAccess = await admin.resource('adminuser').list(
139139

140140
], 15, 0, Sorts.DESC('createdAt')
141141
);
142-
143-
This will produce next SQL query:
144142
```
143+
This will produce next SQL query:
145144

146145
```
147146
SELECT *
@@ -150,10 +149,8 @@ WHERE "role" != 'Admin'
150149
AND (user_meta->>'age') < 18
151150
ORDER BY "createdAt" DESC
152151
LIMIT 15 OFFSET 0;
153-
154152
```
155153

156-
157154
Finds users with age less then 18 from meta field which should be a JSONB field in Postgress.
158155

159156
## Create a new item in database

0 commit comments

Comments
 (0)