Commit Graph

142 Commits

Author SHA1 Message Date
Alexey Romanov
f6b0b2185f More specific type for map_intersperse 2010-10-12 10:49:10 +04:00
Alexey Romanov
37aa64dd5f Replace return type string() with iolist() for SQL-generating functions 2010-10-12 10:14:51 +04:00
Alexey Romanov
cb2f1c9121 Formatting fixed 2010-10-12 10:08:52 +04:00
Alexey Romanov
0669e26175 Fixed column types, according to http://www.sqlite.org/datatype3.html 2010-10-12 09:57:14 +04:00
Alexey Romanov
5f5532bbe8 Replaced use of intersperse with map_intersperse 2010-10-12 09:44:10 +04:00
Alexey Romanov
70a42cab2c Removed remaining io:format calls when constructing queries 2010-10-07 14:22:29 +04:00
Alexey Romanov
33d7323436 sqlite3:create_link/1,2 now opens link with correct name 2010-10-05 17:20:07 +04:00
Alexey Romanov
a37af9f0ab Another fix to CT suite 2010-10-05 15:27:04 +04:00
Alexey Romanov
f20f951c7c Simplified replace function (see Erlang Efficiency Guide) 2010-10-05 14:32:08 +04:00
Alexey Romanov
842df283d0 Construct SQL queries as iolists, not as strings 2010-10-05 14:27:28 +04:00
Alexey Romanov
4dba645ca6 Better way to find current module's directory 2010-10-05 13:43:53 +04:00
Alexey Romanov
f4c3407c5c Fixed test in sqlite3_test.erl 2010-10-05 13:42:43 +04:00
Alexey Romanov
97a812867d Fixed Common Test suite 2010-10-05 13:37:40 +04:00
sergey-miryanov
092f6934e3 Fix typo
Replace null atom with string. Thanks to Jacek Złydach
2010-07-14 14:08:16 +06:00
sergey-miryanov
b65d2f8bcb Improve processing of SQLITE_NULL
null-atom can be configured on configure or make stage. For example
./configure --enable-null-atom=undefined && make
2010-07-14 12:47:46 +06:00
sergey-miryanov
7876c0f568 Fix sqlite3_lib:read_sql/4
Invalid construction of fields list in select stmt
2010-02-18 11:55:42 +05:00
sergey-miryanov
cd10c3eea0 Improve error diagnostic in driver init 2010-02-11 14:41:55 +05:00
sergey-miryanov
27169869c0 Replace binary_to_atom with list_to_atom (binary_to_list ())
To avoid comilation errors on ERTS with version lower than 5.7
(for example, ubuntu 9.04)
2010-02-10 18:13:02 +05:00
sergey-miryanov
846e29c75e Fix unbound variable at sqlite3:create_function 2010-02-05 19:02:41 +05:00
sergey-miryanov
6a6f663ea2 Add read operation (with specified columns to read) 2010-01-20 14:46:40 +05:00
sergey-miryanov
2583ec83ee Add update operation 2010-01-20 14:13:27 +05:00
sergey-miryanov
2dd29008ce Pass DB name to sqlite3_drv
If DB name not passed 'store.db' will be opened.
2010-01-20 10:47:04 +05:00
Max Lapshin
345746e9d7 maybe once will be user defined functions 2009-10-14 17:38:39 +04:00
Max Lapshin
8ec1f1fdad driver working and passes its test 2009-10-14 17:38:32 +04:00
Max Lapshin
be08fe62f3 now can read table list from DB 2009-10-14 17:38:23 +04:00
Max Lapshin
4c66701aa0 Can read SQLite data 2009-10-14 17:38:23 +04:00
Max Lapshin
432f09c707 Working with output 2009-10-14 17:38:20 +04:00
Max Lapshin
e14fbbadda can pass sql into driver 2009-10-14 17:38:14 +04:00
Max Lapshin
89d9d0b17d Trying to pass data into driver 2009-10-14 17:38:00 +04:00
Max Lapshin
690974d808 tests are starting 2009-10-13 00:38:27 +04:00
Max Lapshin
eb221011fc renaming to sqlite3 2009-10-13 00:35:27 +04:00
Max Lapshin
247d23002d migrating to linkedin driver 2009-10-13 00:30:30 +04:00
Tee Teoh
a412f13c09 Adding Common Test test suite. 2008-10-18 23:04:07 -04:00
Tee Teoh
d8def928b3 Added specs information 2008-10-16 15:06:33 -04:00
Tee Teoh
ed0b99b087 Corrected minor edoc issue. 2008-07-27 01:37:56 -04:00
Tee Teoh
ea27483c63 Modified for edocs. 2008-07-27 01:37:15 -04:00
Tee Teoh
344bb59b6d Moved functions to sqlite_lib and added edocs comments. 2008-07-17 13:52:23 -04:00
Tee Teoh
0ce059e327 Added write and modified test to do sql_exec select lookup. 2008-07-11 11:09:11 -04:00
Tee Teoh
e4878b2064 Makefile changes for better compiles.
sqlite.erl supports start_link/stop and open/close paradigm.
added write_sql creation.
2008-06-18 23:34:09 -04:00
Tee Teoh
1f42c1fe39 Listing, info and creating tables now working. 2008-06-13 00:25:32 -04:00
Tee Teoh
7a4ae6f539 Working version of sqlite 2008-06-04 23:14:51 -04:00
Tee Teoh
91ff5f6a88 Not compiling copy because of a silly linker problem on the mac 2008-06-02 16:43:16 -04:00