mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 01:58:16 +00:00
bind/rust: Implement pragma_query
This commit is contained in:
parent
72a1cd5e3c
commit
ed0e3b1ba2
3 changed files with 26 additions and 6 deletions
|
@ -12,8 +12,8 @@ async fn main() {
|
|||
.await
|
||||
.unwrap();
|
||||
|
||||
conn.pragma_query("journal_mode", |&mut row| {
|
||||
println!("{:?}", row);
|
||||
conn.pragma_query("journal_mode", |row| {
|
||||
println!("{}", row.get_value(0));
|
||||
Ok(())
|
||||
})
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue