62 Commits

Author SHA1 Message Date
Ivan Ukhov
2091c9843c Rename process to iterate 2015-08-03 17:12:15 -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
5fc38054ba Extend the example 2015-08-03 16:52:51 -04:00
Ivan Ukhov
a6de11a000 Detail the example 2015-08-03 16:12:09 -04:00
Ivan Ukhov
d89cc13d7b Introduce Iterator 2015-08-02 22:29:04 -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
3cdedd7db6 Add version 2015-08-01 21:39:05 -04:00
Ivan Ukhov
e8768b2b7e Rename Blob to Binary 2015-08-01 17:51:43 -04:00
Ivan Ukhov
d6a8437c51 Adjust the description of Type once more 2015-08-01 17:50:10 -04:00
Ivan Ukhov
25cce673bb Adjust the description of Type 2015-08-01 17:41:25 -04:00
Ivan Ukhov
167ac90578 Get rid of ErrorKind 2015-08-01 17:38:08 -04:00
Ivan Ukhov
ea9eff2fd2 Introduce Type and Statement::kind for reading it 2015-08-01 16:23:05 -04:00
Ivan Ukhov
18ea605451 Get rid of the livetime parameter of Connection 2015-08-01 15:14:10 -04:00
Ivan Ukhov
b433054c82 Clean up the unit tests 2015-08-01 14:07:34 -04:00
Ivan Ukhov
3d0bf10912 Add Statement::columns 2015-08-01 13:55:34 -04:00
Ivan Ukhov
e3222f050d Extend the example 2015-07-30 08:12:43 -04:00
Ivan Ukhov
ebbf073c82 Fix the handling of C strings 2015-07-27 11:38:54 -04:00
Ivan Ukhov
5f3753e691 Reduce the number of semicolons in the examples 2015-07-07 09:37:09 -04:00
Ivan Ukhov
0390d179d5 Adjust the example 2015-07-04 10:24:01 -04:00
Ivan Ukhov
883ce7dce3 Clean up SQL literals 2015-07-04 09:29:49 -04:00
Ivan Ukhov
961dad0f65 Extend the example 2015-07-04 09:27:13 -04:00
Ivan Ukhov
d94275417a Rename Database to Connection 2015-07-04 08:53:26 -04:00
Ivan Ukhov
fa4ceac00a Rename success! to ok! 2015-06-19 20:34:02 -04:00
Ivan Ukhov
d8835fec8c Move a macro 2015-06-19 20:23:12 -04:00
Ivan Ukhov
827386c588 Remove an obsolete crate attribute 2015-06-19 20:18:07 -04:00
Ivan Ukhov
0d079a05c6 Use the same name for type parameters 2015-06-19 13:15:42 -04:00
Ivan Ukhov
7441967fbc Eliminate Binding; introduce Parameter 2015-06-19 11:31:29 -04:00
Ivan Ukhov
56c36f7ddc Remove unnecessary uses in the examples 2015-06-19 09:21:31 -04:00
Ivan Ukhov
dfe55f4953 Simplify in-memory examples 2015-06-19 07:51:34 -04:00
Tomoki Aonuma
423ecac84a sqlite::open() takes an AsRef<Path> value
Now we can pass either a string or a Path to it, just like to
std::fs::File::open().
2015-06-19 13:26:15 +09:00
Ivan Ukhov
610aea0221 Update the usage example 2015-06-14 11:33:55 -04:00
Ivan Ukhov
40e08d5b97 Rename raw to ffi 2015-06-12 14:23:18 -04:00
Ivan Ukhov
f776e1daf6 Adjust the description of Database 2015-06-12 14:21:29 -04:00
Ivan Ukhov
d036ddc071 Use From for convertin codes to error kinds 2015-06-08 18:19:15 -04:00
Ivan Ukhov
985cde931f Treat SQLite result codes as error kinds 2015-06-08 18:05:17 -04:00
Ivan Ukhov
bde720bddc Refactor the error handling 2015-06-08 17:43:31 -04:00
Ivan Ukhov
a5c0234aa1 Clean up the busy callback 2015-06-08 14:52:13 -04:00
Ivan Ukhov
4f97dda5d7 Split execute into instruct and iterate 2015-06-08 13:27:07 -04:00
Ivan Ukhov
81dcb73b8f Refine set_busy_handler 2015-06-08 11:36:50 -04:00
Ivan Ukhov
1f0db50312 Move a test from /tests to /src 2015-06-08 09:37:44 -04:00
Ivan Ukhov
a8396a0d1e Export BusyCallback 2015-06-08 09:22:37 -04:00
Ivan Ukhov
475fa14c0c Drop the lifetime parameter of Database 2015-06-01 11:39:22 -04:00
Ivan Ukhov
2cdf79bca0 Fix the lifetime binding of Database::open 2015-06-01 11:23:02 -04:00
Ivan Ukhov
d549a64686 Get rid of sqlite3_errstr 2015-05-29 16:41:34 -04:00
Ivan Ukhov
ef550d6d75 Return error message from SQLite 2015-05-29 14:33:39 -04:00
Ivan Ukhov
72ff84e686 Refactor Error handling 2015-05-29 14:04:39 -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