Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

InventoryItemWhereInput

InventoryItemWhereInput is used for filtering Item objects.

Audience: Programmer

InventoryItemWhereInput is used for filtering Item objects. Input was generated by ent.

Services: inventory

Fields

Name
Type
Default
Description

id

ID

id field predicates

idNEQ

ID

idIn

[ID!]

idNotIn

[ID!]

idGT

ID

idGTE

ID

idLT

ID

idLTE

ID

tenantID

tenant_id field predicates

tenantIDNEQ

tenantIDIn

[UUID!]

tenantIDNotIn

[UUID!]

tenantIDGT

tenantIDGTE

tenantIDLT

tenantIDLTE

dataTypeID

data_type_id field predicates

dataTypeIDNEQ

dataTypeIDIn

[UUID!]

dataTypeIDNotIn

[UUID!]

dataTypeIDGT

dataTypeIDGTE

dataTypeIDLT

dataTypeIDLTE

dataTypeIDIsNil

Boolean

dataTypeIDNotNil

Boolean

dataTypeSlug

String

data_type_slug field predicates

dataTypeSlugNEQ

String

dataTypeSlugIn

[String!]

dataTypeSlugNotIn

[String!]

dataTypeSlugGT

String

dataTypeSlugGTE

String

dataTypeSlugLT

String

dataTypeSlugLTE

String

dataTypeSlugContains

String

dataTypeSlugHasPrefix

String

dataTypeSlugHasSuffix

String

dataTypeSlugIsNil

Boolean

dataTypeSlugNotNil

Boolean

dataTypeSlugEqualFold

String

dataTypeSlugContainsFold

String

createdAt

created_at field predicates

createdAtNEQ

createdAtIn

[Time!]

createdAtNotIn

[Time!]

createdAtGT

createdAtGTE

createdAtLT

createdAtLTE

createdBy

created_by field predicates

createdByNEQ

createdByIn

[UUID!]

createdByNotIn

[UUID!]

createdByGT

createdByGTE

createdByLT

createdByLTE

updatedAt

updated_at field predicates

updatedAtNEQ

updatedAtIn

[Time!]

updatedAtNotIn

[Time!]

updatedAtGT

updatedAtGTE

updatedAtLT

updatedAtLTE

updatedAtIsNil

Boolean

updatedAtNotNil

Boolean

updatedBy

updated_by field predicates

updatedByNEQ

updatedByIn

[UUID!]

updatedByNotIn

[UUID!]

updatedByGT

updatedByGTE

updatedByLT

updatedByLTE

updatedByIsNil

Boolean

updatedByNotNil

Boolean

sku

String

sku field predicates

skuNEQ

String

skuIn

[String!]

skuNotIn

[String!]

skuGT

String

skuGTE

String

skuLT

String

skuLTE

String

skuContains

String

skuHasPrefix

String

skuHasSuffix

String

skuEqualFold

String

skuContainsFold

String

hasItemMovementItems

Boolean

itemMovementItems edge predicates

hasItemMovementItemsWith

hasItemTransactions

Boolean

itemTransactions edge predicates

hasItemTransactionsWith

hasItemStocks

Boolean

itemStocks edge predicates Deprecated: Matches any stock row, including superseded versions. Use hasCurrentStock / hasCurrentStockWith.

hasItemStocksWith

Deprecated: Matches any stock row, including superseded versions. Use hasCurrentStock / hasCurrentStockWith.

hasItemSet

Boolean

itemSet edge predicates

Data

[String!]

DataHasKey

String

DataIn

[String!]

DataContains

[String!]

hasCurrentStock

Boolean

Items with (true) or without (false) at least one non-empty current stock row. Current = the highest version per repository; a deleted head hides its pair; empty rows never count.

hasCurrentStockWith

Items with at least one non-empty current stock row matching all of the given inputs (ANDed on one row, like hasItemStocksWith). Value filters such as quantityGT apply to the current row only. Current = the highest version per repository; a deleted head hides its pair; empty rows never match. A time cutoff in an input selects the as-of row.

Last updated

Was this helpful?