()
| 8 | |
| 9 | #[sea_orm_macros::test] |
| 10 | async fn main() -> Result<(), DbErr> { |
| 11 | let ctx = TestContext::new("json_vec_tests").await; |
| 12 | create_tables(&ctx.db).await?; |
| 13 | insert_json_vec(&ctx.db).await?; |
| 14 | insert_json_string_vec_derive(&ctx.db).await?; |
| 15 | insert_json_struct_vec_derive(&ctx.db).await?; |
| 16 | |
| 17 | ctx.delete().await; |
| 18 | |
| 19 | Ok(()) |
| 20 | } |
| 21 | |
| 22 | pub async fn insert_json_vec(db: &DatabaseConnection) -> Result<(), DbErr> { |
| 23 | let json_vec = json_vec::Model { |
nothing calls this directly
no test coverage detected