1 2 3 4 5 6 7 8 9 10 11 12 13 14
use icydb::{ db::DbSession, traits::{CanisterKind, EntityFor}, }; fn trusted_sql_query_compiles<C, E>(db: &DbSession<C>, sql: &str) where C: CanisterKind, E: EntityFor<C>, { let _ = db.execute_trusted_sql_query::<E>(sql); } fn main() {}