Logo ProcessCore

MaterialAdditionalProperty Type

CRUD façade for the material_additional_property association table. Primary key: (material_id, position).

Static members

Static member Description

MaterialAdditionalProperty.delete (driver, materialId, position)

Full Usage: MaterialAdditionalProperty.delete (driver, materialId, position)

Parameters:

Deletes the row with the given composite key.

driver : ISqliteDriver
materialId : string
position : int

MaterialAdditionalProperty.get (driver, materialId, position)

Full Usage: MaterialAdditionalProperty.get (driver, materialId, position)

Parameters:
Returns: MaterialAdditionalPropertyRow option

Returns the row with the given composite key, or None.

driver : ISqliteDriver
materialId : string
position : int
Returns: MaterialAdditionalPropertyRow option

MaterialAdditionalProperty.insert (driver, row)

Full Usage: MaterialAdditionalProperty.insert (driver, row)

Parameters:

Inserts a new row.

driver : ISqliteDriver
row : MaterialAdditionalPropertyRow

MaterialAdditionalProperty.list driver

Full Usage: MaterialAdditionalProperty.list driver

Parameters:
Returns: MaterialAdditionalPropertyRow array

Returns all rows ordered by primary key.

driver : ISqliteDriver
Returns: MaterialAdditionalPropertyRow array

MaterialAdditionalProperty.update (driver, row)

Full Usage: MaterialAdditionalProperty.update (driver, row)

Parameters:

Updates the row identified by (row.MaterialId, row.Position).

driver : ISqliteDriver
row : MaterialAdditionalPropertyRow

Type something to start searching.