Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Api
  • Queries

Queries · Changes

Page history
Update Queries authored Dec 02, 2021 by Andrea Pavlovic's avatar Andrea Pavlovic
Hide whitespace changes
Inline Side-by-side
API/Queries.md
View page @ 684a7abd
......@@ -407,6 +407,20 @@ Note that "prefetch" is a shortcut for "join", adding all columns from the joine
https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/ResultSet.pm#collapse
# Query Count `/data/$model/$entity/query/count`
This endpoint takes the same parameter as a query but will return only the "meta" part of the query reply:
```
{
"filtered": 3,
"total": 4
"attrs": {},
"conds": { "is_active": true },
"huge_limit": 1000000,
}
```
# Common Mistakes
To query for a range, do not specify a hash key twice:
......
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages