Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

InventoryItemWhereInput

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

Services: inventory

Name Type Description
not InventoryItemWhereInput
and [InventoryItemWhereInput!]
or [InventoryItemWhereInput!]
id ID id field predicates
idNEQ ID
idIn [ID!]
idNotIn [ID!]
idGT ID
idGTE ID
idLT ID
idLTE ID
tenantID UUID tenant_id field predicates
tenantIDNEQ UUID
tenantIDIn [UUID!]
tenantIDNotIn [UUID!]
tenantIDGT UUID
tenantIDGTE UUID
tenantIDLT UUID
tenantIDLTE UUID
dataTypeID UUID data_type_id field predicates
dataTypeIDNEQ UUID
dataTypeIDIn [UUID!]
dataTypeIDNotIn [UUID!]
dataTypeIDGT UUID
dataTypeIDGTE UUID
dataTypeIDLT UUID
dataTypeIDLTE UUID
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 Time created_at field predicates
createdAtNEQ Time
createdAtIn [Time!]
createdAtNotIn [Time!]
createdAtGT Time
createdAtGTE Time
createdAtLT Time
createdAtLTE Time
createdBy UUID created_by field predicates
createdByNEQ UUID
createdByIn [UUID!]
createdByNotIn [UUID!]
createdByGT UUID
createdByGTE UUID
createdByLT UUID
createdByLTE UUID
updatedAt Time updated_at field predicates
updatedAtNEQ Time
updatedAtIn [Time!]
updatedAtNotIn [Time!]
updatedAtGT Time
updatedAtGTE Time
updatedAtLT Time
updatedAtLTE Time
updatedAtIsNil Boolean
updatedAtNotNil Boolean
updatedBy UUID updated_by field predicates
updatedByNEQ UUID
updatedByIn [UUID!]
updatedByNotIn [UUID!]
updatedByGT UUID
updatedByGTE UUID
updatedByLT UUID
updatedByLTE UUID
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 [ItemMovementWhereInput!]
hasItemTransactions Boolean itemTransactions edge predicates
hasItemTransactionsWith [TransactionWhereInput!]
hasItemStocks Boolean itemStocks edge predicates
Deprecated: Matches any stock row, including superseded versions. Use hasCurrentStock / hasCurrentStockWith.
hasItemStocksWith [StockWhereInput!] Deprecated: Matches any stock row, including superseded versions. Use hasCurrentStock / hasCurrentStockWith.
hasItemSet Boolean itemSet edge predicates
hasItemSetWith [InventoryItemSetWhereInput!]
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 [StockWhereInput!] 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.