EntityToQuery

Convert an entity or array of entities to a Query object.

Method Signature

EntityToQuery(entity=[Any], name=[Any])

Arguments

Argument
Type
Required
Description
Default

entity

Any

true

An instance of an ORM entity or an array of entities.

name

Any

false

The name of the entity. Required if entity is an array.

Examples

Last updated

Was this helpful?