25 March 2024
26 March 2024
28 March 2024
29 March 2024
id 6744647183Appwrite serive :: getPosts :: error AppwriteException: Invalid query: {"method":"equal","attribute":"status","values":["active"]}
hey anyone can help me to debug this error ??
async getPosts(){
try {
return await this.databases.listDocuments(conf.appwriteDatabaseId,conf.appwriteCollectionId,
[Query.equal('status','active')])
} catch (error) {
console.log("Appwrite serive :: getPosts :: error", error);
return false
}
}
this is the code of getPost() function
30 March 2024
Web Development Bootcamp
id 6744647183async getPosts(){
try {
return await this.databases.listDocuments(conf.appwriteDatabaseId,conf.appwriteCollectionId,
[Query.equal('status','active')])
} catch (error) {
console.log("Appwrite serive :: getPosts :: error", error);
return fstatus kya hai?
Mujhe toh wese ye ni ati database wali language...
Replystatus kya hai?
Mujhe toh wese ye ni ati database wali language...
Файл
Screenshot (6).png · 269 KB · click to show
Screenshot (6).png · 269 KB · click to show
Ye error hai
ReplyYe ekdum new error hai...
haan yr muje bhi smj nahi aa rha documantation m jis trh se Query pas kri hai wese hi kri h but fir bhi error aa rha isme ]