Simon Bernier St-Pierre
c42175a424
add support for Uuid
2019-04-08 14:19:42 -04:00
Thom Chiovoloni
d8074b1ece
impl ToSql for Box<dyn ToSql>. Fixes #500
2019-03-27 19:36:11 -07:00
gwenn
80205da623
Rustfmt + clippy
2019-03-21 19:13:55 +01:00
gwenn
98ca4ad6f4
Try to fix CI builds
2019-03-19 21:01:30 +01:00
gwenn
ceb1ce4a55
Rustfmt
2019-03-19 20:45:04 +01:00
gwenn
4703358866
Fix module visibility
2019-03-19 20:43:40 +01:00
gwenn
38e92159fb
Introduce Statement::columns
...
Return Columns name and type. (#494 )
2019-03-19 20:33:36 +01:00
gwenn
ac0baecfe2
Merge pull request #478 from gwenn/fallible-iterator
...
Make `Rows` implement `FallibleStreamingIterator`
2019-03-10 13:13:34 +01:00
gwenn
71a2004894
Add Rows::map method
2019-03-10 12:58:20 +01:00
gwenn
59a44cfae5
Merge remote-tracking branch 'jgallagher/master' into fallible-iterator
2019-03-10 11:12:14 +01:00
Thom Chiovoloni
5ba6909921
Add optional support for rust-url
2019-03-09 19:16:37 -08:00
gwenn
d94acdc3f4
Merge pull request #476 from gwenn/pragma
...
Ease PRAGMA usage (#273 and #265 )
2019-02-27 18:03:35 +01:00
Thom Chiovoloni
04f900059d
Avoid unnecessary copies/allocations when passing strings to sqlite
2019-02-26 19:47:17 -08:00
gwenn
32881d7a76
Unify callback parameter signature
2019-02-21 21:14:55 +01:00
gwenn
7be87e950d
Merge remote-tracking branch 'jgallagher/master' into pragma
2019-02-21 21:07:18 +01:00
gwenn
6d9ae896b5
Do not panic by default
...
Replace `Row::get` by `Row::get_checked`,
And rename original `Row::get` to `Row::get_unwrap`.
`Stmt::query_map`, `Stmt::query_map_named`, `Stmt::query_row`,
`Conn::query_row` and `Conn::query_row_named` callback parameter must return a `Result`.
2019-02-21 20:48:09 +01:00
gwenn
fcaf5b9dd8
Fix typos
2019-02-21 18:55:51 +01:00
gwenn
1775688ac2
Merge branch 'master' into pragma
2019-02-16 18:52:03 +01:00
gwenn
c1f12c7380
Revert change related to #460
2019-02-16 17:24:56 +01:00
gwenn
364e885b89
Fix warning
2019-02-14 20:53:00 +01:00
gwenn
6ce5c9ddcc
Suggest users to use PRAGMA function instead
2019-02-14 20:24:16 +01:00
gwenn
333cc49523
Merge pull request #481 from gwenn/rm-unwrap
...
Remove unwrap from examples
2019-02-10 09:05:35 +01:00
gwenn
a8b9142d47
Fix Blob example
2019-02-09 08:54:53 +01:00
gwenn
d70286e98a
Remove unwrap from examples
2019-02-09 07:16:05 +01:00
gwenn
2c1483f2e7
Merge remote-tracking branch 'jgallagher/master' into fallible-iterator
2019-02-09 06:47:57 +01:00
gwenn
1b3a917ac8
Fix nightly warning
2019-02-09 06:42:33 +01:00
gwenn
8abaf6eefe
Fix rustdoc examples
2019-02-09 06:38:24 +01:00
gwenn
7c5bfb7cc3
Merge pull request #475 from gwenn/db-config
...
Support for sqlite3_db_config #468
2019-02-08 21:38:01 +01:00
gwenn
d93dec52c0
Make Rows
implement FallibleStreamingIterator
2019-02-03 14:01:42 +01:00
gwenn
e9896a7734
Lifetime elision in impl
2019-02-03 11:02:38 +01:00
gwenn
9c00dd01a2
Draft to ease PRAGMA usage ( #273 and #265 )
2019-02-03 09:17:37 +01:00
gwenn
519ef9dc84
Fix rustdoc warnings
2019-02-02 15:18:11 +01:00
gwenn
176e4c232b
Support for sqlite3_db_config #468
2019-02-02 15:17:20 +01:00
gwenn
c2614b54df
Move InnerConnection in its own module
2019-02-02 12:46:52 +01:00
gwenn
8862b17340
Fix clippy warnings
2019-02-02 11:37:26 +01:00
gwenn
f695f185c2
Fix/suppress warning 'deprecated'
2019-02-02 11:10:58 +01:00
gwenn
20fed1956e
Rename some static variables
2019-02-02 11:10:08 +01:00
gwenn
be98290bbd
Replace assert! by assert_eq!
2019-02-02 11:09:00 +01:00
gwenn
4c4578851b
Remove needless lifetimes
2019-02-02 11:08:04 +01:00
gwenn
62d5ffe678
Fix some enum representation
2019-02-02 11:04:46 +01:00
gwenn
0a46a34e3d
Clean examples
...
Remove `extern crate` usages.
Rustfmt.
2019-01-30 20:14:46 +01:00
gwenn
dbc48fcde9
Merge pull request #470 from rainhead/master
...
Derive Debug for Transaction
2019-01-30 19:08:53 +01:00
gwenn
6e0b1e2751
Merge pull request #471 from thomcc/params-macro
...
Add params/named_params macro, and expose ToSql from top level
2019-01-30 18:35:41 +01:00
Thom Chiovoloni
d7c8d43fb4
Add params/named_params macro, and expose ToSql from top level
2019-01-29 15:33:57 -08:00
Thom Chiovoloni
ef757240c1
Use rusqlite::ffi instead of extern crate libsqlite3_sys
2019-01-29 14:59:41 -08:00
Peter Abrahamsen
a160f360d0
Test that Transaction can be removed from an Rc
2019-01-29 11:01:09 -08:00
Peter Abrahamsen
65c6bff73b
Derive Debug for Transaction
2019-01-26 21:29:42 -08:00
Thom Chiovoloni
9478c490fb
Make the libsqlite3_sys as ffi
export pub
2019-01-26 14:30:27 -08:00
gwenn
18b8c390ab
Merge pull request #467 from gwenn/changes
...
Expose sqlite3_changes()
2019-01-26 11:40:24 +01:00
gwenn
4be7900bab
Rustfmt
2019-01-26 11:02:34 +01:00