()
| 14 | |
| 15 | #[sea_orm_macros::test] |
| 16 | async fn main() -> Result<(), DbErr> { |
| 17 | let ctx = TestContext::new("embedding_tests").await; |
| 18 | create_tables(&ctx.db).await?; |
| 19 | insert_embedding(&ctx.db).await?; |
| 20 | update_embedding(&ctx.db).await?; |
| 21 | select_embedding(&ctx.db).await?; |
| 22 | ctx.delete().await; |
| 23 | |
| 24 | Ok(()) |
| 25 | } |
| 26 | |
| 27 | pub async fn insert_embedding(db: &DatabaseConnection) -> Result<(), DbErr> { |
| 28 | use embedding::*; |
nothing calls this directly
no test coverage detected