Queries
GraphQL data base interactions
Overview

The IDE integrates fully functional queries ready to use for your data base collections. Just navigate to the Data Binding section of the IDE and select your collection. For Data Base managent see:
💽Data SourcesSetup
After creating your data base
Open your figma project
Open Uncodie IDE
Navigate to the Data Binding section
Select your component
Select your Data Source
Select your queries
The Object properties will be available for data bidning in the inherited children
Search
Use this queries to fecth information to populate your screen
Pagination
Returns an Array with the collection matching your search
Pagination by Logged User
Returns an Array with the collection matching your search with the Logged In User in your app
Pagination by Referencial Key
Returns an Array with the collection matching your search by filtering the entries with the relation you set in the querie and parameters
Fitler by ID
Returns an object for the matching ID in the collection
Mutations
Create
Insert Document
Use this queries to create a new entry in your collection by passing the parameters required.
Update
Update Document
Use this queries to update a new entry in your collection by passing the parameters required.
Delete
Delete Document
Use this queries to delete an entry in your collection by passing the parameters required.
Querie Parameters
You can add params to your queries by adding the variables in the Params sub section of the Data Binding section in the IDE
Last updated
Was this helpful?