query_json_docs_from_db
Query and retrieve JSON documents from a Fireproof database, sorted by a specified field or by _id if none is provided, enabling structured data access and organization.
Instructions
Query JSON documents sorted by a field from a document database. If no sortField is provided, use the _id field.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
databaseName | Yes | ||
sortField | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"databaseName": {
"type": "string"
},
"sortField": {
"type": "string"
}
},
"required": [
"databaseName",
"sortField"
],
"type": "object"
}