Hello, I am using SvelteKit and node-appwrite 12.0.0 and the Query.contains type does not exist.
import sdk, { Query } from 'node-appwrite';
This is how i am attempting to use it
const docs = await databaseNode.listDocuments(dbId, PRIVATE_COLLECTION_USER_DATA, [Query.contains('search', query)]);
When i look at the package index.d.ts
where it has export class Query {
. its not listed as a type
Any ideas? Thanks
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...