functional-orm icon indicating copy to clipboard operation
functional-orm copied to clipboard

Support shorthand where definitions

Open kozikkam opened this issue 5 years ago • 0 comments

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]] })

kozikkam avatar May 26 '20 08:05 kozikkam