chickadee » sql-de-lite » column-data

column-data statement indexprocedure

Returns the data from the indexed column in the current row.

Column typeScheme type
integerExact or inexact number
floatInexact number
textString
blobBlob
null'()
(map (lambda (i) (column-data s i))
     (list 0 1 2))
; => (1 "foo" "bar")

integer values are retrieved with sqlite3_column_int64. On a 32-bit machine, values outside the signed 31-bit fixnum range are returned as inexact numbers. On a 64-bit machine, values outside the signed 63-bit fixnum range are returned as inexact numbers. Note that inexact numbers are 64-bit floating point values, and can only accurately represent 53 bits of an integer.