Closed abdulrahman1s closed 2 years ago
#[derive(Model, FromRow)] #[ormlite(table = "test")] pub struct TestTable { r#type: i32 } TestTable { r#type: 1 }.insert(&mut db); // INSERT INTO "test" (r#type) VALUES (?) // The query should be "INSERT INTO "test" (type) VALUES (?)"
Can you update the PR with what problem this PR fixes? It'll help both me and anyone in the future googling the same issue. Happy to merge in with that update.
Sure!
fix a unexpected behavior when we use r#x
Example