Commit graph

110 commits

Author SHA1 Message Date
Brian J. Cardiff
71347ad377 bump version 0.7.0
update db dependency to a proper version
2016-10-20 19:04:07 -03:00
Brian J. Cardiff
261f17ad21 add spec for using the connection pool 2016-10-19 01:44:34 -03:00
Ary Borenszweig
0396d63771 Updated to Crystal 0.19.0 2016-09-03 18:41:31 -03:00
Brian J. Cardiff
f70c1d89e2 fix: avoid closing statements twice, they are closed in base connection 2016-08-30 16:17:49 -03:00
Brian J. Cardiff
6b72e01c2f avoid releasing the connection multiple times
when the ResultSet is released, the connection is returned. The same happens with the statement.
2016-08-29 16:41:29 -03:00
Ary Borenszweig
c3fce779fe Added some casts to make it work when other drivers are loaded 2016-07-14 15:21:59 -03:00
Ary Borenszweig
84e1eed991 Fixed type references 2016-07-11 15:24:37 -03:00
Brian J. Cardiff
5f710d1fd9 use crystal-db master branch 2016-07-05 16:48:33 -03:00
Ary Borenszweig
c2f8cf53e3 Merge pull request #9 from crystal-lang/feature/simple_read
Implement https://github.com/crystal-lang/crystal-db/pull/9
2016-07-01 11:57:28 -03:00
Ary Borenszweig
1e8de9a2b4 Implement https://github.com/crystal-lang/crystal-db/pull/9 2016-06-28 14:04:27 -03:00
Brian J. Cardiff
710ac1d170 update links 2016-06-27 14:25:55 -03:00
Brian J. Cardiff
75007d2304 update deps 2016-06-27 14:16:10 -03:00
Brian J. Cardiff
770d2dec21 bump version 2016-06-27 14:12:38 -03:00
Brian J. Cardiff
c9b54c3da0 update readme 2016-06-27 14:08:21 -03:00
Brian J. Cardiff
fb0f5ea6d7 compliant with crystal-db.
Merge branch 'db' into master
2016-06-27 12:39:33 -03:00
Brian J. Cardiff
38507203df add license
update .gitignore
2016-06-24 00:02:44 -03:00
Brian J. Cardiff
881ef79893 Merge master changes into db branch.
Refactor flags, add option to dump from one database connection to another.

Merge commit '135f33d9eac82c63a48b14942c8eff647c070410' into db

# Conflicts:
#	spec/database_spec.cr
#	src/sqlite3/lib_sqlite3.cr
#	src/sqlite3/result_set.cr
#	src/sqlite3/statement.cr
2016-06-23 17:27:58 -03:00
Brian J. Cardiff
186dc01f10 Merge branch 'feature/5-type-extensibility' into db 2016-06-23 15:14:41 -03:00
Brian J. Cardiff
de8bd7a5c4 use master branch of crystal-db 2016-06-23 15:13:34 -03:00
Brian J. Cardiff
497379ff81 extend sqlite with time (as text) support. 2016-06-22 16:17:47 -03:00
Brian J. Cardiff
d65575cd77 update Slice(UInt8) to Bytes 2016-06-22 14:13:44 -03:00
Brian J. Cardiff
c8d5acceae Make sure queries (insert and query) work with any type 2016-06-22 00:45:00 -03:00
Brian J. Cardiff
bf26cdc24f update DB::ExecResult#rows_affected to Int64 2016-06-21 18:32:06 -03:00
Brian J. Cardiff
3b4b32e4e6 update to crystal-db feature/5-type-extensibility branch 2016-06-21 12:47:12 -03:00
Ary Borenszweig
135f33d9ea Updated to Crystal 0.18.0 2016-06-15 12:05:12 -03:00
Ary Borenszweig
b1c6c32ae5 Updated to Crystal > 0.15.0 2016-04-12 00:02:16 -03:00
Ary Borenszweig
6e1a6fe225 Bump version 2016-03-17 12:18:46 -03:00
Ary Borenszweig
aa641a0fc7 travis: one more try 2016-03-17 12:12:03 -03:00
Ary Borenszweig
f14908e607 travis: try upgrading sqlite3 version 2016-03-17 11:41:10 -03:00
Ary Borenszweig
2ec0af7f76 travis: try installing sqlite 2016-03-17 11:33:46 -03:00
Ary Borenszweig
9d04b39e81 .travis.yml: try plain crystal configuration 2016-03-17 10:59:25 -03:00
Ary Borenszweig
eb8e4a6962 Simplify flags creation and usage 2016-03-17 10:58:47 -03:00
Ary Borenszweig
db48a03797 Merge pull request #6 from benjolitz/flag_support_and_dumping
Initial support/tests for SQLite flags and db dump
2016-03-17 10:53:10 -03:00
Ben Jolitz
c7260cd2cb Seperate out LibSqlite3 enums as they do not change
This allows LibSQLite3 to be changed without breaking
anyone's code
2016-03-16 17:17:56 -07:00
Ben Jolitz
fa220a1c4c Initial support/tests for SQLite flags and db dump
This commit adds a pass through for specifying SQLite3 flags. This is
an absolute requirement for being able to create in-memory DB
representations.
2016-03-14 19:53:51 -07:00
Brian J. Cardiff
07ba7d6d51 rename types 2016-02-18 18:52:49 -03:00
Brian J. Cardiff
1d52f93879 remove old code 2016-02-18 18:52:49 -03:00
Brian J. Cardiff
503868f434 update to last db design 2016-02-18 18:52:49 -03:00
Brian J. Cardiff
15417b7c38 update to 0-based positional arguments
add samples
2016-02-18 18:52:49 -03:00
Brian J. Cardiff
dd5c10ba6e column types
update to connection_string
remove Driver.quote
2016-02-18 18:52:48 -03:00
Brian J. Cardiff
2e6e6ed7e5 add insert/select per type specs
add last_insert_id
add Driver.quote
2016-02-18 18:52:48 -03:00
Brian J. Cardiff
add75d86bf update to refactored api
refactor specs
2016-02-18 18:52:48 -03:00
Brian J. Cardiff
5266a7e7b3 column_count, column_name, close statement 2016-02-18 18:52:48 -03:00
Brian J. Cardiff
63f98d18d1 add blob support 2016-02-18 18:52:48 -03:00
Brian J. Cardiff
82f68ed6cf arguments support 2016-02-18 18:52:48 -03:00
Brian J. Cardiff
efa010e2ad migrate to crystal std db. keeping old code side by side 2016-02-18 18:52:48 -03:00
Ary Borenszweig
67ef13caed Merge pull request #5 from jhass/travis
Travis build
2016-01-29 13:47:58 -03:00
Brian J. Cardiff
ee0bc75e3a Update to crystal 0.10.0 2016-01-28 21:06:40 -03:00
Jonne Haß
652308db5f update readme for shards 2015-11-28 14:07:42 +01:00
Jonne Haß
2f2ae4dd41 enable travis 2015-11-28 14:05:10 +01:00