Commit Graph

28 Commits

Author SHA1 Message Date
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 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 eb8e4a6962 Simplify flags creation and usage 2016-03-17 10:58:47 -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 5ab80b9f36 Updated to Crystal 0.8.0 2015-09-21 14:55:13 -03:00
Ary Borenszweig 3125ad0191 Merge pull request #2 from netfeed/result_set_columns
should return columns and not types
2015-09-07 10:04:31 -03:00
Jonne Haß 22d83727df Ensure close of statement 2015-09-06 18:55:21 +02:00
Victor Bergoo 73cd7dbf05 should return columns and not types 2015-08-20 12:29:20 +02:00
Ary Borenszweig d62185867b Documentation and some refactors 2015-03-12 21:08:01 -03:00
Ary Borenszweig d96255d766 Initial commit 2015-03-12 20:31:46 -03:00