Skip to content
FutureBlitz

    Install

    Import std.db.database

    Row

    std.db.database

    struct

    Public Struct Row

    A row a query read: its columns' names and values, which Integer, Real, Text, and Blob give by the column's index, from 0, or its name, as the SQL gives it, like "id" or "count(*)". Each gives Null for NULL, and panics for a value of another type, but Real takes an integer too, so a column of either reads as one. Type says which a column holds. A name that two columns have is the first's.

    std/db/database.fb, line 230

    • Public Property Count: Int property #

      How many columns it has.

    • @PanicsAtCaller Public Method Name(column: Int): String method #

      The name of the column at index. Panics when there's none there.

    • @PanicsAtCaller Public Method Type(column: Int): ColumnType method #

      The type of the column at column's value. Panics when there's none there.

    • @PanicsAtCaller Public Method Type(name: String): ColumnType method #

      The type of the column named name's value. Panics when there's none of that name.

    • @PanicsAtCaller Public Method IsNull(column: Int): Bool method #

      Whether the column at column is NULL. Panics when there's none there.

    • @PanicsAtCaller Public Method IsNull(name: String): Bool method #

      Whether the column named name is NULL. Panics when there's none of that name.

    • @PanicsAtCaller Public Method Integer(column: Int): Int64? method #

      The integer at column, or Null for NULL. Panics when there's no column there, or it's of another type.

    • @PanicsAtCaller Public Method Integer(name: String): Int64? method #

      The integer in the column named name, or Null for NULL. Panics when there's no column of that name, or it's of another type.

    • @PanicsAtCaller Public Method Real(column: Int): Float64? method #

      The real number at column, an integer's too, or Null for NULL. Panics when there's no column there, or it's of another type.

    • @PanicsAtCaller Public Method Real(name: String): Float64? method #

      The real number in the column named name, an integer's too, or Null for NULL. Panics when there's no column of that name, or it's of another type.

    • @PanicsAtCaller Public Method Text(column: Int): String? method #

      The text at column, or Null for NULL. Panics when there's no column there, or it's of another type.

    • @PanicsAtCaller Public Method Text(name: String): String? method #

      The text in the column named name, or Null for NULL. Panics when there's no column of that name, or it's of another type.

    • @PanicsAtCaller Public Method Blob(column: Int): UInt8[]? method #

      The blob at column, or Null for NULL. Panics when there's no column there, or it's of another type.

    • @PanicsAtCaller Public Method Blob(name: String): UInt8[]? method #

      The blob in the column named name, or Null for NULL. Panics when there's no column of that name, or it's of another type.

    Report an issue with this page or with FutureBlitz on GitHub.