Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SelectParams

Index

Properties

Properties

from?: number | ObjectPropertyPath

Path to an object property

example
select({foo: {bar: {bla: {}}}}, {from: 'foo.bla'})
where?: CanArray<Dictionary<unknown>>

Object to match or array of objects. The array is interpreted as "or".

example
select({test: 2}, {where: {test: 2}}) // {test: 2}
select({test: 2}, {where: [{test: 1}, {test: 2}]}) // {test: 2}