tiberius
tiberius copied to clipboard
TDS 7.2+ (Microsoft SQL Server) driver for Rust
Allows using ColumnData as parameters for queries, if you wanted to generically store various types of valid SQL data in one place and bind it directly instead of first converting...
Hi! I was playing with the crate but I couldn't get it running, after putting my connection string ```rust static CONN_STR: Lazy = Lazy::new(|| { env::var("TIBERIUS_TEST_CONNECTION_STRING").unwrap_or_else(|_| { "Server=tcp:myspecialserver.mycompany.com,1433;Database=DB_MYDB;User Id=myspecialuser;Password=goodpassword".to_owned() })...
Hi there I think in many scenarios it would be useful to be able to pass the column list to `bulk_insert`. Would probably mainly need to adjust the preflight query...
I am writting an ORM that depends on `tiberius`. Someone requested us to include the `Integrated` auth method for MSSQL databases, so we go ahead, and tried. Everything works well...
The only time I don't get an error is when I use a `simple_query`. ```Rust // Error let rst = client .execute("CREATE SCHEMA name", &[]) .await; // Error let rst...
Currently `native-tls` is set as a default feature, but selecting a different tls implementation requires `default-features = false` in your Cargo.toml. This PR will select one of the alternatives in...
When working on data of an unknown type, it's very difficult to get a specific index without explicitly giving the type that we are going to receive. Being able to...
Error: BULK UPLOAD input failure: invalid data type, expecting Some(VarLenSized( VarLenContext { type: Datetimen, len: 8, collation: None })) but found String(So me("2023-08-29T10:41:16.845986700+08:00"))
I would love some help/example with the following. Many SQL programmers write large stored procedures and probably will continue to do so for some time. ORM is nice but moving...
I was playing around with wireshark and comparing sql auth (username / password) on linux in this library to `Microsoft.Data.SqlClient` in C#. The code I was testing just performs login...