51 Commits

Author SHA1 Message Date
Ivan Ukhov
090deb80ac Move a couple of functions 2017-08-23 10:18:50 +02:00
Ivan Ukhov
6c1ddbf184 Add as_raw to Connection and Statement 2017-08-23 10:13:59 +02:00
Ivan Ukhov
9aba31e37c Adjust the formatting of the macros 2017-08-23 10:09:04 +02:00
Ivan Ukhov
006027159b Run rustfmt 2017-08-22 17:41:34 +02:00
Ivan Ukhov
51545f4c2b Make a cosmetic adjustment 2015-11-22 07:00:09 +01:00
Ivan Ukhov
edb26a9fa8 Make SQLite copy data when BLOB or TEXT 2015-11-21 20:42:13 +01:00
Ivan Ukhov
5691098657 Make a cosmetic adjustment 2015-11-21 19:18:12 +01:00
Ivan Ukhov
2720246b1a Let bind take self instead of &self 2015-11-21 19:06:02 +01:00
Ivan Ukhov
10e461e5e9 Fix the binding of string parameters 2015-11-21 17:08:02 +01:00
Ivan Ukhov
139d46bbc5 Require Sized for Readable 2015-08-17 21:41:13 -04:00
Ivan Ukhov
3ebfc76d37 A cosmetic reordering 2015-08-04 07:30:13 -04:00
Ivan Ukhov
125317935b Remove state from Statement 2015-08-04 07:27:58 -04:00
Ivan Ukhov
22aea1100f Always succeed when calling Statement::cursor 2015-08-03 21:21:44 -04:00
Ivan Ukhov
5072b6e2f3 Rename Iterator to Cursor 2015-08-03 17:10:30 -04:00
Ivan Ukhov
162f27fa3c Refine the language of statements and iterators 2015-08-03 17:05:03 -04:00
Ivan Ukhov
26626fdeeb Fix the reading of string data 2015-08-03 16:50:21 -04:00
Ivan Ukhov
75bd2d94b6 Replace Connection::iterate with Statement::into_iter 2015-08-03 08:50:41 -04:00
Ivan Ukhov
42515bc5ec Add a function to read the current state of a statement 2015-08-03 08:41:23 -04:00
Ivan Ukhov
d89cc13d7b Introduce Iterator 2015-08-02 22:29:04 -04:00
Ivan Ukhov
c4772f7dd8 A cosmetic adjustment 2015-08-02 20:37:17 -04:00
Ivan Ukhov
825afe4537 Introduce Value representing an arbitrary value for binding and reading 2015-08-02 20:34:27 -04:00
Ivan Ukhov
611beaebb9 Rename Value to Readable and Parameter to Bindable 2015-08-02 20:15:15 -04:00
Ivan Ukhov
e8768b2b7e Rename Blob to Binary 2015-08-01 17:51:43 -04:00
Ivan Ukhov
ba257b99bc Add the possibility to read binary data 2015-08-01 17:19:21 -04:00
Ivan Ukhov
ea9eff2fd2 Introduce Type and Statement::kind for reading it 2015-08-01 16:23:05 -04:00
Ivan Ukhov
3d0bf10912 Add Statement::columns 2015-08-01 13:55:34 -04:00
Ivan Ukhov
9df0978335 Use AsRef<str> instead of &str 2015-07-31 16:05:52 -04:00
Ivan Ukhov
ebbf073c82 Fix the handling of C strings 2015-07-27 11:38:54 -04:00
Ivan Ukhov
0572f80ed0 Adjust the documentation 2015-07-04 09:21:38 -04:00
Ivan Ukhov
fa4ceac00a Rename success! to ok! 2015-06-19 20:34:02 -04:00
Ivan Ukhov
e9f6fc0f1a Adjust an error message 2015-06-19 20:24:34 -04:00
Ivan Ukhov
0d079a05c6 Use the same name for type parameters 2015-06-19 13:15:42 -04:00
Ivan Ukhov
fad63fc9d0 Fix the signature of bind 2015-06-19 13:10:09 -04:00
Ivan Ukhov
28929e8f1b Document State 2015-06-19 13:03:54 -04:00
Ivan Ukhov
d05c9e5d85 Move State closer to Statement 2015-06-19 11:34:03 -04:00
Ivan Ukhov
cf80303a1d A minor adjustment 2015-06-19 11:33:11 -04:00
Ivan Ukhov
7441967fbc Eliminate Binding; introduce Parameter 2015-06-19 11:31:29 -04:00
Ivan Ukhov
37ae860747 A minor change 2015-06-12 14:34:57 -04:00
Ivan Ukhov
41803cc3ca Switch to {open, prepare, close}_v2 2015-06-12 14:34:50 -04:00
Ivan Ukhov
40e08d5b97 Rename raw to ffi 2015-06-12 14:23:18 -04:00
Ivan Ukhov
bde720bddc Refactor the error handling 2015-06-08 17:43:31 -04:00
Ivan Ukhov
bfa3a976c8 Rename a couple of functions; add set_busy_timeout 2015-06-08 07:53:28 -04:00
Ivan Ukhov
dd85dc01d7 Make Value::read take an immutable statement 2015-06-01 16:30:02 -04:00
Ivan Ukhov
0e6ee0c10d Make execute and statement take immutable self 2015-06-01 16:27:09 -04:00
Ivan Ukhov
475fa14c0c Drop the lifetime parameter of Database 2015-06-01 11:39:22 -04:00
Ivan Ukhov
7c0a85c655 Rename _phantom to phantom 2015-05-30 10:31:41 -04:00
Ivan Ukhov
1f4f6e9d70 Delegate the creation of statements to the statement module 2015-05-29 16:58:48 -04:00
Ivan Ukhov
1d16210de7 Move Error and Result from lib.rs to separate modules 2015-05-29 13:50:05 -04:00
Ivan Ukhov
e56b3891bc A few minor adjustments 2015-05-29 13:34:48 -04:00
Ivan Ukhov
ae0a12444b Implement column reading 2015-05-29 13:08:02 -04:00