Skip to main content

Module example

Module example 

Source
Expand description

Examples demonstrating compile-time checked sqlx query patterns.

These examples exercise the query! and query_as! macros against both the wasm and conductor schemas, ensuring sqlx prepare keeps the offline query cache up to date.

Structs§

WasmRow
Example struct mapped from the Wasm table.

Functions§

get_conductor_tag
Compile-time checked read of the conductor tag.
get_wasm
Compile-time checked select from the Wasm table.
insert_wasm
Compile-time checked insert into the Wasm table.
set_conductor_tag
Compile-time checked upsert of the conductor tag.