Import std.db.database
Row
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.
-
How many columns it has.
-
The name of the
columnat index. Panics when there's none there. -
The type of the
columnatcolumn's value. Panics when there's none there. -
The type of the column named
name's value. Panics when there's none of thatname. -
Whether the
columnatcolumnis NULL. Panics when there's none there. -
Whether the column named
nameis NULL. Panics when there's none of thatname. -
The integer at
column, or Null for NULL. Panics when there's no column there, or it's of another type. -
The integer in the column named
name, or Null for NULL. Panics when there's no column of thatname, or it's of another type. -
The real number at
column, an integer's too, or Null for NULL. Panics when there's nocolumnthere, or it's of another type. -
The real number in the column named
name, an integer's too, or Null for NULL. Panics when there's no column of thatname, or it's of another type. -
The text at
column, or Null for NULL. Panics when there's no column there, or it's of another type. -
The text in the column named
name, or Null for NULL. Panics when there's no column of thatname, or it's of another type. -
The blob at
column, or Null for NULL. Panics when there's no column there, or it's of another type. -
The blob in the column named
name, or Null for NULL. Panics when there's no column of thatname, or it's of another type.
Report an issue with this page or with FutureBlitz on GitHub.