Version: 4.3

Class: CriteriaNodeFactory

Hierarchy

  • CriteriaNodeFactory

Methods

createArrayNode

StaticcreateArrayNode(metadata: MetadataStorage, entityName: string, payload: any[], parent?: ICriteriaNode, key?: string): ICriteriaNode

Defined in packages/knex/src/query/CriteriaNodeFactory.ts:32

Parameters:

NameType
metadataMetadataStorage
entityNamestring
payloadany[]
parent?ICriteriaNode
key?string

Returns: ICriteriaNode


createNode

StaticcreateNode(metadata: MetadataStorage, entityName: string, payload: any, parent?: ICriteriaNode, key?: string): ICriteriaNode

Defined in packages/knex/src/query/CriteriaNodeFactory.ts:10

Parameters:

NameType
metadataMetadataStorage
entityNamestring
payloadany
parent?ICriteriaNode
key?string

Returns: ICriteriaNode


createObjectItemNode

StaticcreateObjectItemNode(metadata: MetadataStorage, entityName: string, node: ICriteriaNode, payload: Dictionary, item: string, meta?: EntityMetadata): ICriteriaNode

Defined in packages/knex/src/query/CriteriaNodeFactory.ts:55

Parameters:

NameType
metadataMetadataStorage
entityNamestring
nodeICriteriaNode
payloadDictionary
itemstring
meta?EntityMetadata

Returns: ICriteriaNode


createObjectNode

StaticcreateObjectNode(metadata: MetadataStorage, entityName: string, payload: Dictionary, parent?: ICriteriaNode, key?: string): ICriteriaNode

Defined in packages/knex/src/query/CriteriaNodeFactory.ts:39

Parameters:

NameType
metadataMetadataStorage
entityNamestring
payloadDictionary
parent?ICriteriaNode
key?string

Returns: ICriteriaNode


createScalarNode

StaticcreateScalarNode(metadata: MetadataStorage, entityName: string, payload: any, parent?: ICriteriaNode, key?: string): ICriteriaNode

Defined in packages/knex/src/query/CriteriaNodeFactory.ts:25

Parameters:

NameType
metadataMetadataStorage
entityNamestring
payloadany
parent?ICriteriaNode
key?string

Returns: ICriteriaNode

Last updated on by Martin Adámek