Gwendal Roué
21e9e64b3d
DatabaseValueConvertible and StatementColumnConvertible can now be fetched through a RowAdapter. DatabaseValueConvertible: raise a fatal error instead of converting to nil for invalid conversions triggered by fetch() methods.
2016-06-28 13:54:45 +02:00
Gwendal Roué
cae3d7b321
Support for NSUUID
2016-06-20 22:37:31 +02:00
Gwendal Roué
9a397c1ff8
Emoji tests
2016-06-19 11:14:11 +02:00
Gwendal Roué
7186c9a3a0
#68 : take care of Int, Int32 and Int64 overflow when converting from database values
2016-06-05 13:49:47 +02:00
Gwendal Roué
a5760a7462
#68 : NSNumber.databaseValue raises explicit fatal error when value doesn’t fit Int64
2016-06-05 12:16:37 +02:00
swiftlyfalling
066a4de15f
Added tests
...
For:
- NSNull.swift
- NSNumber.swift
- NSString.swift
- NSURL.swift
- DatabaseValue+Foundation.swift
2016-06-02 19:25:42 -04:00
swiftlyfalling
b24631345b
Increase test coverage of NSData.swift
2016-06-02 18:08:28 -04:00
swiftlyfalling
30bc7e4f6c
Replace most uses of #if SQLITE_HAS_CODEC with the appropriate USING_BUILTIN_SQLITE or USING_SQLCIPHER defines.
...
This enables easier compilation of a custom version of SQLite that
itself uses the SQLITE_HAS_CODEC define. (ex. If building SQLite with
the SQLite Encryption Extension.)
The SQLITE_HAS_CODEC define is now only used to guard use of the SQLite
encryption APIs.
GRDBCipher builds define USING_BUILTIN_SQLITE and USING_SQLCIPHER.
2016-05-30 18:19:45 -04:00
Gwendal Roué
4185de77e0
Remove DatabaseValue.failableValue()
2016-05-18 18:40:03 +02:00
Gwendal Roué
484d5a5968
Framework for GRDB+SQLCipher is named GRDBCipher
2016-04-03 21:30:22 +02:00
Gwendal Roué
7e3563f64b
Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases.
2016-04-03 16:20:45 +02:00
Gwendal Roué
5ed3b39219
Rename DatabaseValue.unsafeValue() to failableValue()
2016-03-25 18:46:24 +01:00
Gwendal Roué
ee55afe8c0
Row.value() no longer turns non-NULL values to nil, should the conversion fail.
2016-03-25 18:28:42 +01:00
Gwendal Roué
6bfab3d04a
DatabaseValue.value() no longer turns non-NULL values to nil, should the conversion fail. The new method DatabaseValue.unsafeValue() has the old, information-discarding, behavior.
2016-03-25 13:56:38 +01:00
Gwendal Roué
7364d99b6b
WIP
2016-03-10 18:51:08 +01:00
Gwendal Roué
cdc102de70
Remove DatabaseRawRepresentable since DatabaseValueConvertible is enough.
2016-02-28 22:14:49 +01:00
Gwendal Roué
fd1067b41f
Replace DatabaseIntRepresentable, DatabaseInt32Representable, DatabaseInt64Representable and DatabaseStringRepresentable with DatabaseRawRepresentable.
2016-02-28 20:28:10 +01:00
Gwendal Roué
8cdacf3899
Rename SQLiteStatementConvertible to StatementColumnConvertible + Project organization
2016-02-07 08:51:28 +01:00
Gwendal Roué
f44ae2848f
Project organization
...
Project organization
README.md
WIP QueryBuilder documentation
README.md
WIP QueryBuilder documentation
WIP QueryBuilder documentation
TODO.md
2016-01-28 08:43:25 +01:00