Skip to content

API Collection

SQLRow Implementations

Topics

Instance Properties

  • allColumns
    The list of all column names available in the row, in no particular order.

Instance Methods

  • contains(column:)
    Returns true if the given column name is available in the row, false otherwise.
  • decode(column:as:)
    If the given column name exists in the row, attempt to decode it as the given type and return the result if successful.
  • decodeNil(column:)
    Must return true if the given column name is missing from the row or if it exists but has a value equivalent to an SQL NULL, or false if the column name exists with a non-NULL value.