query {
tablesDBListRows(
databaseId: "690b62ea0019a21bfd2c",
tableId: "book",
queries: ["equal("book_title", ["gaaa"])"]
) {
total
rows {
_id
data
}
}
}
Book Response: {'errors': [{'message': 'Invalid query: Syntax error', 'extensions': {'category': 'appwrite'}, 'locations': [{'line': 3, 'column': 13}], 'path': ['tablesDBListRows'], 'trace': [{'file': '/usr/src/code/src/Appwrite/GraphQL/Resolvers.php', 'line': 56, 'call': 'Appwrite\GraphQL\Resolvers::resolve(instance of Utopia\App, instance of Appwrite\Utopia\Request, instance of Appwrite\Utopia\Response, instance of Closure, instance of Closure)'}, {'file': '/usr/src/code/src/Appwrite/Promises/Swoole.php', 'line': 21, 'call': 'Appwrite\GraphQL\Resolvers::Appwrite\GraphQL\{closure}(instance of Closure, instance of Closure)'}, {'call': 'Appwrite\Promises\Swoole::Appwrite\Promises\{closure}()'}]}], 'data': {'tablesDBListRows': None}}
No book found with the given title.
book_query = f"""
query {{
tablesListRows(
databaseId: "{DATABASE_ID}",
tableId: "{BOOK_COLLECTION_ID}",
queries: ["equal("book_title", ["gaaa"])"]
) {{
total
rows {{
_id
data
}}
}}
}}
"""
Book Response: {'errors': [{'message': 'Cannot query field "tablesListRows" on type "Query". Did you mean "tablesDBListRows", "tablesDBGetRow", "tablesDBListRowLogs", "databasesListLogs", or "sitesListLogs"?', 'extensions': {'category': 'graphql'}, 'locations': [{'line': 3, 'column': 13}]}]}
If You see I tried the syntax which was sent by you but I am facing two different problems with different syntax