mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-14 20:16:03 +00:00
Describe ExecuteCallback
This commit is contained in:
parent
83fb866c60
commit
e9d7efdf77
@ -98,6 +98,7 @@ pub struct Database<'d> {
|
|||||||
_phantom: PhantomData<&'d raw::sqlite3>,
|
_phantom: PhantomData<&'d raw::sqlite3>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// A callback executed for each row of the result of an SQL query.
|
||||||
pub type ExecuteCallback<'c> = FnMut(Vec<(String, String)>) -> bool + 'c;
|
pub type ExecuteCallback<'c> = FnMut(Vec<(String, String)>) -> bool + 'c;
|
||||||
|
|
||||||
impl<'d> Database<'d> {
|
impl<'d> Database<'d> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user