Sqlite Toolkit - dbrowfilter


: rowfilt = dbrowfilter(C)
: rowfilt = dbrowfilter(T)

Create an unconstrained dbrowfilter object with columns names.

Inputs

C

A column name, cell array of column names.

T

A table to use for column names.

Outputs

rowfilt

a dbrowfilter object

Object Properties

Object properties are the names of the columns on creation of the filter.

Constraints can be set on a specific field of the filter by setting a comparison value for the variable name.

Examples

 
 # create a dbrowfilter with 2 columns
 rf = dbrowfilter({'Column1', 'Column2'});
 # add a constraint for Column1 > 10
 rfc = rf.Column1 > 10
 
 

See also: dbtable.