Module sql

Module sql 

Source
Expand description

Host-side SQL helpers.

Traits§

ToDbValue
Trait: Converts Rust types to the DbValue defined by WIT.

Functions§

execute
Executes non-query SQL statements (INSERT / UPDATE / DELETE).
query
Executes query SQL statements (SELECT) and deserializes the result into a list of target types.