rdbc
rdbc copied to clipboard
Rust DataBase Connectivity (RDBC) :: Common Rust API for database drivers
When I forked the repo it wouldn't build due to: ``` error[E0308]: mismatched types --> rdbc-postgres/src/lib.rs:73:34 | 73 | keyword: "".to_owned(), | ^^^^^^^^^^^^^ expected enum `Keyword`, found struct `std::string::String` ```...
It looks like the last commit was 15 months ago. Might be worth being explicit about the maintenance status for this project if the intention is that not much more...
I really get sore eyes when I see `Box` in rust code. It's not an idiomatic rust to use them, they bypass type safety and they hurt performance. I understand...
PR to partially solve #53 Incomplete PR, need some thoughts on this.
The initial PoC of RDBC was pretty naive and copied from ODBC/JDBC and is not idiomatic Rust code. This issue has been created to discuss how to create an idiomatic...
Converts many single INSERT statements into one INSERT statement with many values. Example: `INSERT INTO table VALUES (1,'yes'),(2,'no),(3,'maybe'),(4,'not sure')` https://dzone.com/articles/performant-batch-inserts-using-jdbc https://www.journaldev.com/2494/jdbc-batch-insert-update-mysql-oracle
* rust error ``` rust Connection.prepare(sql); create_statement.execute_query(&arg_array); Err(General("Couldn\'t convert the value `Date(\"\\\'2019-12-12\\\'\")` to a desired type")) ``` * mysql data row ``` date `2019-12-12 00:00:00` ``` ### so i check...
Use https://docs.rs/tiberius/0.3.2/tiberius/
Some databases support queries that return multiple result sets. This could be modeled roughly like this pseudo code? ```rust trait Statement { fn execute_query() -> impl Stream; } trait ResultSet...