Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wixData query().ne() not working with external Firestore collection #11

Closed
javieranton-zz opened this issue Jun 10, 2020 · 1 comment
Closed

Comments

@javieranton-zz
Copy link

javieranton-zz commented Jun 10, 2020

getting WD_UNKNOWN_ERROR when attempting this with a Firestore collection

Sample code below

export function get_testGet(request) {
let options = {
	"headers": {
		"Content-Type": "application/json"
	}
};
return wixData.query("GCM/CollectionName")
.ne("title","something")//ne doesnt work
.find()
.then( (results) => {
    return ok(options);
 } ).catch((err) => {
    options.body = err;
    return serverError(options);
}); 
}
@javieranton-zz
Copy link
Author

javieranton-zz commented Jun 10, 2020

Firestore doesn't support not equal operations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant