[][src]Crate kiln

Macros

get_where

A shorthand for getting rows that match a certain criteria. Abstracts over the table.get() method to find all rows in which a column matches a certain value specified.

row
select

Select a single column from the rows given. Basically just a map func.

table

Shorthand for creating a table spec:

Structs

Db
Row
Table
TableSpec

Enums

Column
ColumnValue

Traits

ToRow

Wraps the type in a ColumnValue enum. Allows for doing things like 123.to_row() instead of ColumnValue::i32(123) All int types are cast to an i32 because it makes the db simpler.

Functions

stringify_col

Take a ColumnValue and return a stringified representation of it eg: