ShibaOriginal post
Rank 3: Container
documents, err := appwriteDatabases.ListDocuments(
databaseID,
collectionID,
appwriteDatabases.WithListDocumentsQueries([]string{
fmt.Sprintf("limit=%d", perPage),
fmt.Sprintf("offset=%d", offset),
}),
)
Plain text
exit status 1```Summary
Developers trying to use the `ListDocuments` function with Go encountered an error `Invalid query: Syntax error` while specifying the limit and offset parameters. This error is due to incorrect formatting of the queries. Ensure the format is correct when passing the queries in the `WithListDocumentsQueries` function.