functional-orm
functional-orm copied to clipboard
Support shorthand where definitions
Right now it's necessary to always write full where syntax:
.where({ [WhereOp.$and]: [['id', Op.$in, [1, 2, 3]]] })
it should be possible to write just
.where({ [WhereOp.$and]: ['id', Op.$in, [1, 2, 3]] })