Commit Graph

43 Commits

Author SHA1 Message Date
Maas-Maarten Zeeman
7913ec08c9 Added changes 2022-05-21 14:45:18 +02:00
Maas-Maarten Zeeman
71dbc8faaf Removed outdated comments 2022-05-21 13:54:35 +02:00
Maas-Maarten Zeeman
d1dffa1e8d Added step function in favour of multi_step 2022-05-21 09:30:56 +02:00
Maas-Maarten Zeeman
2062ff5d1b Used extended error codes 2022-05-19 21:26:40 +02:00
Maas-Maarten Zeeman
77cea7e902 Turn on sqlite's extended error codes 2022-05-19 08:21:38 +02:00
Maas-Maarten Zeeman
616127c748 Added column names 2022-05-18 00:15:29 +02:00
Maas-Maarten Zeeman
6c5e13ced3 Changed open/close and prepare 2022-05-17 22:09:25 +02:00
Maas-Maarten Zeeman
71fe0d81a8 Start removal of command thread 2022-05-16 23:47:54 +02:00
Maas-Maarten Zeeman
b9093acdcf Rearranged the api source code in a more logical order 2022-01-09 15:10:10 +01:00
Maas-Maarten Zeeman
d0cc3b10cc Implemented backu_step 2022-01-08 22:19:22 +01:00
Maas-Maarten Zeeman
a809775841 Implemented backup_init 2022-01-08 15:05:32 +01:00
Maas-Maarten Zeeman
c08ae01775 Merge branch 'master' into expose-backup-api 2022-01-07 13:45:51 +01:00
Maas-Maarten Zeeman
9c40ca8f0a Bumped year in copyright 2022-01-07 12:21:35 +01:00
Maas-Maarten Zeeman
6bdaf1e894 Added basics to expose backup api 2022-01-06 23:55:40 +01:00
Maas-Maarten Zeeman
7c936b1112 Fix some type specs 2022-01-04 13:05:43 +01:00
Maas-Maarten Zeeman
b8882581ac Fix merge 2022-01-04 11:26:35 +01:00
Maas-Maarten Zeeman
3cb540a553 Merge branch 'master' into cleanup-connection-and-statement-types 2022-01-04 11:07:22 +01:00
Maas-Maarten Zeeman
40456147da Clarify names used for raw connections and statements 2022-01-03 23:01:24 +01:00
Joe Freeman
09a9c86097 Add function to get the last insert rowid (#62)
* Add function to get the last insert rowid

* Update esqlite3.erl

Co-authored-by: Maas-Maarten Zeeman <mmzeeman@xs4all.nl>
2022-01-03 18:05:27 +01:00
Maas-Maarten Zeeman
f60a0b45e7 Merged interrupt after timeout pr (#71)
* Merged interrupt after timeout pr

* Bump version number
2022-01-03 15:10:40 +01:00
Maas-Maarten Zeeman
852c3286cf Add specs docs and refactor (#70)
* Changed old style specs to more up to date specs

* Added documentation

* Changed all @spec to -spec's

* Bump version number
2022-01-03 14:09:01 +01:00
connor rigby
d014a4d525 Implement get_autocommit
http://www.sqlite.org/c3ref/get_autocommit.html
2018-12-02 11:10:03 -08:00
Connor Rigby
8fa063a3f1 Add ability to subscribe to table updates.
This was implemented based on
[this](https://www.sqlite.org/c3ref/update_hook.html) document.
2018-11-29 15:30:00 -08:00
Alex Golubov
f5d73f7c82 Reading multiple rows from sqlite and send to Erlang process in one bulk. 2018-07-05 22:55:10 +05:00
Maas-Maarten Zeeman
d4969140bc Cleaned up connection reference inside c-struct of statement 2017-02-28 23:38:14 +01:00
Maas-Maarten Zeeman
785903ae6d Keep a reference to the connection before the prepare statement is put on the command queue.
This should fix a race condition when a prepare is called right before the
db connection is garbage collected.
2017-02-22 22:03:26 +01:00
Heinz N. Gies
69fe344610 Fix dialyzer warnings 2015-09-21 18:24:50 +02:00
Michael Ries
19080b849c get column types 2015-01-30 09:24:00 -07:00
Maas-Maarten Zeeman
6428cec6dd Make sure the statement is reset after a in step. Fixes #10 2014-06-16 22:24:59 +02:00
Arjan Scherpenisse
476c34e1e3 Add esqlite3:changes/3 function to get nr of affected rows 2014-06-15 00:14:11 +02:00
qingliangcn
fc102d9024 correct the insert function spec 2013-11-28 00:29:25 +08:00
qingliangcn
a921bd65b2 add insert function to get last insert rowid 2013-11-28 00:22:40 +08:00
Maas-Maarten Zeeman
ec04d67632 Check for issue #2. No problem... Fixes #2 2013-01-01 14:42:43 +01:00
Maas-Maarten Zeeman
827a8c1756 Added specs 2012-12-26 23:51:54 +01:00
Maas-Maarten Zeeman
0b7da430bb Use filename join to create nif loading path 2012-12-26 13:09:25 +01:00
Maas-Maarten Zeeman
6d7591619b Fix loading of the nif while on the console in develop dir. 2012-12-26 13:01:49 +01:00
Maas-Maarten Zeeman
6624096b93 Fixed indentation 2012-10-28 08:14:21 +01:00
Maas-Maarten Zeeman
719197313a Busy with creating an edbc lib 2011-12-28 21:31:14 +01:00
Maas-Maarten Zeeman
e04da6dcc7 Adding column names functionality 2011-11-21 11:47:01 +01:00
Maas-Maarten Zeeman
f7c2d15e51 Added travis 2011-11-07 22:18:23 +01:00
Maas-Maarten Zeeman
ffb65cf442 Adding documentation and specs 2011-11-06 23:58:14 +01:00
Maas-Maarten Zeeman
ca68887b17 Added copyright notice 2011-11-06 21:57:59 +01:00
Maas-Maarten Zeeman
a015580021 Split off low-level api in separate file 2011-11-06 21:37:35 +01:00