Database Operations
Learn about Zephyr's database operations
Write
#[derive(DatabaseDerive, Clone)]
#[with_name("test")]
struct TestTable {
hello: ScVal,
}
#[no_mangle]
pub extern "C" fn on_close() {
let env = EnvClient::new();
// define the message
let table = TestTable {
hello: message.clone(),
};
table.put(&env);
}Read
Update
Last updated