43 Commits

Author SHA1 Message Date
Ivan Ukhov
006027159b Run rustfmt 2017-08-22 17:41:34 +02:00
Ivan Ukhov
12816e86f2 Extend the cursor_workflow test 2015-11-22 20:29:23 +01:00
Ivan Ukhov
9564d9e6a6 Unify the tests 2015-11-21 09:56:24 +01:00
Jake Kerr
d88890c818 Test for bug that cursors into statements with bindings return too early 2015-11-20 17:13:11 -08:00
Ivan Ukhov
f2e6ac7e03 Add benchmarks for Statement and Cursor 2015-08-04 08:21:22 -04:00
Ivan Ukhov
22aea1100f Always succeed when calling Statement::cursor 2015-08-03 21:21:44 -04:00
Ivan Ukhov
c5efaedc73 Reset the state after Cursor’s bind 2015-08-03 17:28:48 -04:00
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
26626fdeeb Fix the reading of string data 2015-08-03 16:50:21 -04:00
Ivan Ukhov
a6de11a000 Detail the example 2015-08-03 16:12:09 -04:00
Ivan Ukhov
75bd2d94b6 Replace Connection::iterate with Statement::into_iter 2015-08-03 08:50:41 -04:00
Ivan Ukhov
d89cc13d7b Introduce Iterator 2015-08-02 22:29:04 -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
dc85cb98ff Refactor a bit the tests 2015-08-01 11:29:21 -04:00
Ivan Ukhov
97ab6d14d8 Clean up the tests 2015-07-07 09:38:06 -04:00
Ivan Ukhov
883ce7dce3 Clean up SQL literals 2015-07-04 09:29:49 -04:00
Ivan Ukhov
d94275417a Rename Database to Connection 2015-07-04 08:53:26 -04:00
Ivan Ukhov
4f488e2545 Work around a compiler bug present in 1.0.0 only 2015-06-19 13:03:47 -04:00
Ivan Ukhov
7441967fbc Eliminate Binding; introduce Parameter 2015-06-19 11:31:29 -04:00
Ivan Ukhov
dfe55f4953 Simplify in-memory examples 2015-06-19 07:51:34 -04:00
Ivan Ukhov
610aea0221 Update the usage example 2015-06-14 11:33:55 -04:00
Ivan Ukhov
9bd6db2ab5 Add a stress test 2015-06-11 22:14:36 -04:00
Ivan Ukhov
64aa37f474 Give &strs instead of Strings to Database::process’ callback 2015-06-08 21:42:34 -04:00
Ivan Ukhov
bde720bddc Refactor the error handling 2015-06-08 17:43:31 -04:00
Ivan Ukhov
1fdedd03f9 Rename instruct to execute and iterate to process 2015-06-08 15:00:44 -04:00
Ivan Ukhov
4f97dda5d7 Split execute into instruct and iterate 2015-06-08 13:27:07 -04:00
Ivan Ukhov
1f0db50312 Move a test from /tests to /src 2015-06-08 09:37:44 -04:00
Ivan Ukhov
bfa3a976c8 Rename a couple of functions; add set_busy_timeout 2015-06-08 07:53:28 -04:00
Ivan Ukhov
2698514218 Rename statement to prepare_statement 2015-06-07 22:17:07 -04:00
Ivan Ukhov
0e6ee0c10d Make execute and statement take immutable self 2015-06-01 16:27:09 -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
ae0a12444b Implement column reading 2015-05-29 13:08:02 -04:00
Ivan Ukhov
f7f9af43ed Implement prepared statements 2015-05-29 11:24:01 -04:00
Ivan Ukhov
d17b371c4d Make Database::execute accept None 2015-05-29 09:04:00 -04:00
Ivan Ukhov
6bece46d5b Detail the test 2015-05-28 22:49:00 -04:00
Ivan Ukhov
056b5df6d4 Implement Database::execute 2015-05-28 22:40:15 -04:00
Ivan Ukhov
6ff668acd0 Implement Database::open 2015-05-28 19:19:08 -04:00