Gwendal Roué
|
7e260cf537
|
Update tests for new Row.scopes view
|
2018-04-19 14:41:49 +02:00 |
|
Gwendal Roué
|
57932235ba
|
Introduce RowScopes collection, a view of a row's scopes
|
2018-04-19 09:07:16 +02:00 |
|
Gwendal Roué
|
9a6daedd6d
|
Cleanup
|
2018-04-18 07:31:11 +02:00 |
|
Matt Greenfield
|
3b546dedd8
|
truncate nanosecond precision to 3 sig figs
|
2018-04-17 15:17:09 +07:00 |
|
Matt Greenfield
|
33066133fc
|
truncate date/time strings that include seconds precision beyond the nanosecond scale
|
2018-04-17 14:32:33 +07:00 |
|
Matt Greenfield
|
dad163771f
|
not all nanosecond fractions have 3 sig figs, so can't hard code the acceptable string lengths
|
2018-04-17 12:38:23 +07:00 |
|
Matt Greenfield
|
bb59f5e6f7
|
0.123 is not the same thing as 0.000123
|
2018-04-17 11:05:47 +07:00 |
|
Matt Greenfield
|
7a1aa88edb
|
fractions of seconds are not the same thing as integer counts of nanoseconds
|
2018-04-16 19:18:49 +07:00 |
|
Matt Greenfield
|
b444d376f4
|
differentiate between SS and SS.SSS formats
|
2018-04-16 17:39:41 +07:00 |
|
Matt Greenfield
|
59d7909f50
|
return correct Format for partial date/time combinations
|
2018-04-16 17:21:00 +07:00 |
|
Matt Greenfield
|
362c4baeca
|
initial scanf() based date string parser
|
2018-04-16 14:02:15 +07:00 |
|
Gwendal Roué
|
d39f02113c
|
Restore T.fetchXXX(db, request) APIs which were removed in PR #311
|
2018-04-16 08:50:55 +02:00 |
|
Gwendal Roué
|
c9dc1223dd
|
Harmonize dbQueue.writer with dbPool.writer
|
2018-04-15 20:14:25 +02:00 |
|
Gwendal Roué
|
090f872e80
|
Update documentation: don't mention dbQueue.inDatabase unless necessary
|
2018-04-15 18:09:34 +02:00 |
|
Gwendal Roué
|
a46505e907
|
Cleanup
|
2018-04-15 14:30:12 +02:00 |
|
Gwendal Roué
|
d78479e4af
|
[WIP] DatabaseQueue.inDatabase runs inside a transaction
|
2018-04-13 08:56:03 +02:00 |
|
Gwendal Roué
|
bd2f17ee10
|
Fixes needed by DatabasePool/Writer.writeWithoutTransaction
|
2018-04-12 07:58:01 +02:00 |
|
Gwendal Roué
|
563a4d5c71
|
Introduce DatabaseWriter.writeWithoutTransaction
|
2018-04-11 20:03:18 +02:00 |
|
Gwendal Roué
|
78e6241d16
|
DatabaseWriter.write now guarantees that eventual concurrent readers don't see any changes until all changes are executed. DatabasePool.write thus wraps changes in a transaction.
|
2018-04-11 20:03:18 +02:00 |
|
Gwendal Roué
|
26912e746b
|
Update documentation for new Row description format
|
2018-04-11 15:49:16 +02:00 |
|
Gwendal Roué
|
fa68b62be1
|
Improve Row.description & Row.debugDescription
|
2018-04-11 13:39:44 +02:00 |
|
Gwendal Roué
|
07a1d4d1b8
|
Database.rollback: add missing dispatch queue check
|
2018-04-11 13:21:56 +02:00 |
|
Gwendal Roué
|
9c6b48980c
|
Database.isInsideTransaction: add missing dispatch queue check
|
2018-04-11 13:18:34 +02:00 |
|
Gwendal Roué
|
79c7dd03a5
|
[Whitespace]
|
2018-04-11 13:10:15 +02:00 |
|
Gwendal Roué
|
c34380cf5c
|
SQLExpression and SQLSelectable are no longer PATs
|
2018-04-11 08:19:15 +02:00 |
|
Gwendal Roué
|
03f5a83cbf
|
Introduce and DatabaseRequest and SelectStatementRequest on top of FetchRequest
|
2018-04-08 12:08:51 +02:00 |
|
Gwendal Roué
|
2dfbe8e5f2
|
Prevent snapshot creation from within a transaction
|
2018-03-31 15:56:42 +02:00 |
|
Gwendal Roué
|
d24f79ee4d
|
Merge branch 'master' into GRDB3
|
2018-03-31 14:36:43 +02:00 |
|
Gwendal Roué
|
4ee9580d31
|
Remove redundant conformance of DatabaseValue to SQLExpressible
|
2018-03-29 15:31:22 +02:00 |
|
Gwendal Roué
|
0d7f392bcd
|
Database.isGRDBInternalTable(_:)
|
2018-03-15 20:04:50 +01:00 |
|
Gwendal Roué
|
07b944039c
|
Database.isSQLiteInternalTable(_:)
|
2018-03-15 19:52:44 +01:00 |
|
Gwendal Roué
|
95933e93dd
|
Fix SQLRequest inline documentation
|
2018-03-12 23:03:46 +01:00 |
|
Gwendal Roué
|
1cbe60a13f
|
Better checks for Swift < 4.1 (thanks @hartbit!)
|
2018-03-12 18:33:06 +01:00 |
|
Gwendal Roué
|
a75e519294
|
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
75d5c2a39f
|
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
85d3c584ef
|
Swift 4.1 compatibility (SE-0184 , SE-0187)
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
dbde432948
|
Remove deprecated APIs
|
2018-02-28 08:35:07 +01:00 |
|
Gwendal Roué
|
1a91020a84
|
After all, FetchableRecord and PersistableRecord
|
2018-02-27 19:25:49 +01:00 |
|
Gwendal Roué
|
ba6a026cdc
|
Rename RowConvertible to DecodableRecord
|
2018-02-27 13:17:51 +01:00 |
|
Gwendal Roué
|
4faa9964bd
|
Make AnyCursor final
|
2018-02-27 08:15:49 +01:00 |
|
Gwendal Roué
|
15a0ea79b0
|
Drop IteratorCursor, use AnyCursor instead
|
2018-02-27 08:11:48 +01:00 |
|
Gwendal Roué
|
769c67e7d3
|
FetchRequest.adapted(_:) in not experimental
|
2018-02-26 19:34:16 +01:00 |
|
Gwendal Roué
|
f605e049fd
|
Rename TypedRequest to FetchRequest, drop Request
|
2018-02-26 13:12:33 +01:00 |
|
Gwendal Roué
|
b4922f60a2
|
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
|
2018-02-25 09:24:23 +01:00 |
|
Gwendal Roué
|
b0e126f29d
|
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
|
2018-02-25 09:24:23 +01:00 |
|
Gwendal Roué
|
d8c411ad52
|
Swift 4.1 compatibility (SE-0184 , SE-0187)
|
2018-02-25 09:24:23 +01:00 |
|
Gwendal Roué
|
dbfbe30749
|
DatabaseSnapshot RAII
|
2018-02-24 17:15:53 +01:00 |
|
Gwendal Roué
|
76561a567f
|
Introduce DatabaseSnapshot
|
2018-02-24 07:37:26 +01:00 |
|
Gwendal Roué
|
7dc008db8b
|
Expose Database.beginTransaction(), commit(), rollback(). New Configuration.allowsUnsafeTransactions flag. New fatal error when a database access block ends with a transaction left opened.
|
2018-02-23 14:14:05 +01:00 |
|
Gwendal Roué
|
f2d9f50930
|
CHANGELOG
|
2018-02-23 13:10:40 +01:00 |
|