Maas-Maarten Zeeman
49aff0cf9a
Added extra check for closed database in update_hook
2022-01-03 23:33:37 +01:00
Maas-Maarten Zeeman
40456147da
Clarify names used for raw connections and statements
2022-01-03 23:01:24 +01:00
Maas-Maarten Zeeman
d77b1fa76c
Travis is no longer used for building
2022-01-03 15:40:19 +01:00
Andrew Varner
116dbbdc87
Test NULL binding ( #25 )
...
This tests binding an SQL NULL value by passing in an 'undefined' atom
in Erlang in place of an SQL NULL. It also verifies that the returned NULL
is mapped to 'undefined' when returned via a query.
2022-01-03 15:12:33 +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
Maas-Maarten Zeeman
df3be87201
Test new releases on 21,22,23, and 24
2022-01-01 12:23:26 +01:00
Maas-Maarten Zeeman
eaaaf7942b
Bump 3.37.1 ( #69 )
...
* Upgraded sqlite to version 3.37.1
* 3.37.0 added strict tables. This caused a change in the returned type definition
2022-01-01 11:56:51 +01:00
Maas-Maarten Zeeman
20f7a2916f
Updated base sqlite code ( #68 )
2021-11-20 20:42:09 +01:00
Rudolf Schlatte
225ac60cf4
Add map/4, foreach/4 with query parameters ( #67 )
...
- Function signatures wrt the non-parameterized forms are analogous to `q/2`,
`q/3`.
Co-authored-by: Rudolf Schlatte <rudi@eduroam-193-157-247-98.wlan.uio.no >
2021-11-20 20:41:44 +01:00
Maas-Maarten Zeeman
a4ec12b448
Upgrade to 3.35.0 ( #66 )
...
* Upgrading sqlite to 3.35.0
* Bump version of library itself
2021-03-13 11:15:30 +01:00
Maas-Maarten Zeeman
e71350d2b9
Update README.md
2020-10-29 08:10:59 +01:00
Maas-Maarten Zeeman
c64f9d1ed4
Fix the test gh action. Don't download rebar3, but use the one provided by the erlang image
2020-10-29 08:07:19 +01:00
Maas-Maarten Zeeman
f7d59738aa
Update test.yml
2020-10-29 07:45:09 +01:00
Maas-Maarten Zeeman
4ac7807e03
Update test.yml
2020-10-29 07:43:15 +01:00
Maas-Maarten Zeeman
298580e500
Create test.yml
...
Add action which builds and tests on pull and pr's to master
2020-10-28 21:30:28 +01:00
Maas-Maarten Zeeman
b7c68f7f2e
Removed dependency on wget, and bumped rebar3 version
2020-10-02 16:21:09 +02:00
Connor Rigby
2fdd5834ad
Release v0.4.1 ( #61 )
2020-03-02 22:59:58 +01:00
Maas-Maarten Zeeman
8d61e3239b
Merge pull request #60 from danielspofford/cflags
...
Extend cflags for specific architectures
2020-03-02 22:49:29 +01:00
Daniel Spofford
58e8c1d805
Extend cflags for specific architectures
...
Previously specific archs overwrote the cflags variable instead of
extending it.
2020-03-02 15:06:14 -06:00
Maas-Maarten Zeeman
f595a5ac4f
Merge pull request #57 from ConnorRigby/rebar3-update
...
Update Makefile to use `rebar3` instead of `rebar`
2019-05-27 20:02:49 +02:00
Maas-Maarten Zeeman
0e72f091aa
Merge pull request #58 from ConnorRigby/esqlite-use-system-fix
...
Fix ESQLITE_USE_SYSTEM
2019-04-21 12:06:51 +02:00
Connor Rigby
dea7ba1a35
Fix ESQLITE_USE_SYSTEM
...
This fixes the logic for setting the include directory for the sqlite
header file
2019-04-19 08:17:27 -07:00
Connor Rigby
1f6070a7b1
Update Makefile to use rebar3 instead of rebar
...
This also fixes the rebar download as GitHub doesn't like
allowing the erlang http client
2019-04-19 07:52:35 -07:00
Maas-Maarten Zeeman
b3e158311f
Merge pull request #56 from ConnorRigby/hex-update
...
Update docs for releasing package on hex.pm
2019-04-11 19:43:16 +02:00
Connor Rigby
089316ee0a
Update docs for releasing package on hex.pm
2019-04-11 10:40:20 -07:00
Maas-Maarten Zeeman
79c2655177
Merge pull request #55 from mmzeeman/wip-update-otp-releases
...
Update the otp_release list to something more recent
2019-04-11 09:02:07 +02:00
Maas-Maarten Zeeman
ec5d3e0d48
Update the otp_release list to something more recent
2019-04-11 08:53:55 +02:00
Maas-Maarten Zeeman
8e569adfd3
Update README.md
...
Updated the Travis-CI badge link.
2019-04-11 08:39:33 +02:00
Maas-Maarten Zeeman
65a0a21445
Merge pull request #53 from se-apc/sqlite_3.27
...
Sqlite 3.27.2
2019-04-11 08:24:31 +02:00
Maas-Maarten Zeeman
0743f9216a
Merge pull request #54 from TenderPro/master
...
Added fetchall/3 and q/4 functions extended by Timeout parameter.
2019-04-11 08:21:02 +02:00
Alex Golubov
765951ae09
Added fetchall/3 and q/4 functions extended by Timeout parameter.
2019-03-29 17:49:35 +05:00
Michael Schmidt
db73ab8ce2
Add ESQLITE_USE_SYSTEM
...
This allows the nif to link against the system's SQLite database.
Useful when you need to share the database with other
applications
2019-03-14 15:20:25 +00:00
Michael Schmidt
f236290168
Bump to Sqlite 3.27.2
2019-03-12 17:54:51 +00:00
Maas-Maarten Zeeman
ed7c659a52
Merge pull request #52 from ConnorRigby/version-bump
...
Bump version
2019-01-03 17:16:49 +01:00
connor rigby
ee87913fb8
Bump version
...
With 1cb801d0a8 comes a
fix for a remote execution vuln. I think this warrants a minor
version bump
2018-12-19 09:39:42 -08:00
Maas-Maarten Zeeman
5ff91aa96d
Merge pull request #49 from ConnorRigby/get-autocommit
...
Implement get_autocommit
2018-12-15 16:40:03 +01:00
Maas-Maarten Zeeman
50918812b9
Merge pull request #51 from ConnorRigby/gcc-49-fix
...
Fix compile for debian/gcc 4.9
2018-12-15 16:38:56 +01:00
Maas-Maarten Zeeman
1cb801d0a8
Upgraded sqlite to 3.26. It fixes a remote execution bug
2018-12-15 16:32:37 +01:00
Connor Rigby
c1a0d60574
Fix compile for debian/gcc 4.9
...
Fixes #50
2018-12-11 08:41:45 -08:00
connor rigby
d014a4d525
Implement get_autocommit
...
http://www.sqlite.org/c3ref/get_autocommit.html
2018-12-02 11:10:03 -08:00
Maas-Maarten Zeeman
2dd24c5381
Merge pull request #46 from ConnorRigby/hex-docs
...
Update Hex document.
2018-12-02 15:11:06 +01:00
Maas-Maarten Zeeman
b75d5f9839
Merge pull request #48 from ConnorRigby/notifications
...
Add ability to subscribe to table updates.
2018-12-02 15:10:32 +01:00
Maas-Maarten Zeeman
c6f6e405cb
Merge pull request #47 from ConnorRigby/version-update
...
Update version
2018-12-02 15:08:41 +01: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
Connor Rigby
2eb08f5334
Update Hex document.
2018-11-29 13:29:43 -08:00
Connor Rigby
cb28380fc4
Update version.
...
The rebar and hex.pm versions have diverged at some point in the
last two years, so i bumped to 0.2.5 to get them to the same
number.
2018-11-29 12:46:04 -08:00
Maas-Maarten Zeeman
ab25c2d2b6
Update README.md
...
Typo 😊
2018-09-05 06:58:27 +02:00
Maas-Maarten Zeeman
6728a0c020
Merge pull request #43 from TenderPro/BulkRowsReading
...
Bulk rows reading
2018-07-17 22:52:59 +02:00
Maas-Maarten Zeeman
56a6808941
Merge pull request #41 from TenderPro/Upgrade-SQLite-to-3.24.0
...
Upgrade SQLite to 3.24.0.
2018-07-17 12:30:57 +02:00