v2026.11.0
All Bundles
Bundle

In-memory query engine over typed columns. Tables are filled row by row or loaded from sources (CSV files, folders, the program's own objects) and queried with SQL-like statements; aggregates, Describe() and Finder (file search) are included. Compile with -lib query.

Row

A cursor over one row of a table: reading or writing it reads or writes the table's columns.

Operations

False # function

Helper for setting 'false' column value

function : False() ~ IntRef

Return

TypeDescription
IntRef'false' value holder

Get #

Gets value by name

method : public : Get(name:String) ~ Compare

Parameters

NameTypeDescription
nameStringcolumn name

Return

TypeDescription
Comparevalue

Get #

Gets value by index

method : public : Get(index:Int) ~ Compare

Parameters

NameTypeDescription
indexIntcolumn index

Return

TypeDescription
Comparevalue

GetKey #

Gets the row's primary key

method : public : GetKey() ~ Int

Return

TypeDescription
Intprimary key

New # constructor

Constructor. Use Table->Insert, Get or GetAll rather than this.

New(table:Table, row:Int)

Parameters

NameTypeDescription
tableTabletable
rowIntrow slot

Next #

Gets the next live row in insertion order

method : public : Next() ~ Row

Return

TypeDescription
Rownext row, Nil at the end

Next #

Deprecated: rows follow insertion order, which cannot be changed. Does nothing.

method : public : Next(next:Row) ~ Nil

Parameters

NameTypeDescription
nextRowignored

Prev #

Gets the previous live row in insertion order

method : public : Prev() ~ Row

Return

TypeDescription
Rowprevious row, Nil at the start

Prev #

Deprecated: rows follow insertion order, which cannot be changed. Does nothing.

method : public : Prev(prev:Row) ~ Nil

Parameters

NameTypeDescription
prevRowignored

Set #

Sets value by name

method : public : Set(name:String, value:Compare) ~ Bool

Parameters

NameTypeDescription
nameStringcolumn name
valueComparevalue

Return

TypeDescription
Booltrue if successful, false otherwise (an unknown column, or a declared column of another type)

Set #

Sets value by index

method : public : Set(index:Int, value:Compare) ~ Bool

Parameters

NameTypeDescription
indexIntcolumn index; 0, the primary key, cannot be set
valueComparevalue

Return

TypeDescription
Booltrue if successful, false otherwise

Size #

Gets the number of columns

method : public : Size() ~ Int

Return

TypeDescription
Intnumber of columns

ToString #

String representation of the row

method : public : ToString() ~ String

Return

TypeDescription
Stringrow as string

True # function

Helper for setting 'true' column value

function : True() ~ IntRef

Return

TypeDescription
IntRef'true' value holder