#[Solved]Property 'and' does not exist on type 'typeof Query'.

1 messages · Page 1 of 1 (latest)

grizzled grail
#

const query = Query.where([
Query.equal("userId", userId),
Query.equal("postId",postId)
]) I want to perform And operation on the query how to do it?

lunar vortex
grizzled grail
#

but its accepting Query.equal() ?

#

console is showing Version 1.5.5

#

it worked. Thanks