SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION appwrite.JSON_OVERLAPS does not exi
- 0
- Self Hosted
- Databases
- Web
SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION appwrite.JSON_OVERLAPS does not exist
{"message":"Server Error","code":500,"type":"general_unknown","version":"1.5.7"}
This happens when querying with contains filter
@swoole/library/core/Database/PDOStatementProxy.php
/usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php in __call at line 1821
/usr/src/code/vendor/utopia-php/database/src/Database/Database.php in find at line 4859
/usr/src/code/vendor/utopia-php/database/src/Database/Validator/Authorization.php in Utopia\Database\{closure} at line 166
/usr/src/code/vendor/utopia-php/database/src/Database/Database.php in skip at line 4870
/usr/src/code/app/controllers/api/databases.php in find at line 3021
/usr/src/code/vendor/utopia-php/framework/src/App.php in {closure} at line 531
/usr/src/code/vendor/utopia-php/framework/src/App.php in execute at line 705
/usr/src/code/app/http.php in run at line 257
{closure}```
Could you specify how to replicate this?
You're using the query contains filter, but in what attribute or how?
Attribute Type: String []
Code:
databases.listDocuments(
"DB",
"COLL",
[Query.contains('column', ['A','B']]
).then().catch();
Are you not using mariadb?
Yes
Yes you aren't?
Sorry, I'm using mariadb
Recommended threads
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- "Domain verification failed"
"Domain verification failed" I was install Appwrite in my VDS server. I using Coolify for install Appwrite. After install complete, i want add my domain, and i ...