Logo ProcessCore

LabProtocol Type

CRUD façade for the lab_protocol table.

Static members

Static member Description

LabProtocol.delete (driver, id)

Full Usage: LabProtocol.delete (driver, id)

Parameters:

Deletes the row with the given id.

driver : ISqliteDriver
id : string

LabProtocol.get (driver, id)

Full Usage: LabProtocol.get (driver, id)

Parameters:
Returns: LabProtocolRow option

Returns the row with the given id, or None.

driver : ISqliteDriver
id : string
Returns: LabProtocolRow option

LabProtocol.insert (driver, row)

Full Usage: LabProtocol.insert (driver, row)

Parameters:

Inserts a new row.

driver : ISqliteDriver
row : LabProtocolRow

LabProtocol.list driver

Full Usage: LabProtocol.list driver

Parameters:
Returns: LabProtocolRow array

Returns all rows ordered by primary key.

driver : ISqliteDriver
Returns: LabProtocolRow array

LabProtocol.update (driver, row)

Full Usage: LabProtocol.update (driver, row)

Parameters:

Updates the row identified by row.Id.

driver : ISqliteDriver
row : LabProtocolRow

Type something to start searching.