@mocanvas/store · type
type QueryExpression<R extends object> = {
[K in keyof R]?: QueryValueMatcher<R[K]>;
}A query over the records of one type: property name to matcher, every entry of which must hold (they are ANDed).
``ts
store.query.records("shape", () => ({ type: { eq: "geo" }, isLocked: { eq: false } }))
``
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.