|
@@ -157,7 +157,7 @@ pub fn derive_entity(tokens: TokenStream) -> TokenStream {
|
|
|
use #microrm_ref::re_export::sqlite::Bindable;
|
|
|
self.0.bind(stmt, col)
|
|
|
}
|
|
|
- fn build_from(stmt: &sqlite::Statement, col_offset: usize) -> sqlite::Result<(Self, usize)> where Self: Sized {
|
|
|
+ fn build_from(stmt: &#microrm_ref::re_export::sqlite::Statement, col_offset: usize) -> #microrm_ref::re_export::sqlite::Result<(Self, usize)> where Self: Sized {
|
|
|
stmt.read::<i64>(col_offset).map(|x| (#id_name(x), 1))
|
|
|
}
|
|
|
}
|