Commit Graph
1676 Commits
Author SHA1 Message Date
Gwendal Roué ee81249c79 FetchRequest.fetchCount() can count all supported queries 2016-03-05 15:24:13 +01:00
Gwendal Roué b7a7cd953e FetchRequest.fetchCount() traps when the intent of the developer can’t be satisfied (yet), as in Person.select(name).distinct.fetchCount(db). 2016-03-04 09:15:43 +01:00
Gwendal Roué de9d8e65bb Add failing tests for Reader.select(Col.name).distinct.fetchCount(db) 2016-03-03 08:54:18 +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é d74cf435ed Swift2.2 2016-02-10 19:09:28 +01:00
Gwendal Roué 1db2d6f5d0 Database holds weak references to its transaction observers 2016-02-09 21:02:09 +01:00
Pascal Edmond 0808a10b03 merge 2016-02-09 17:44:33 +01:00
Gwendal Roué d6cf23ab78 Declare Database.selectStatement and Database.updateStatement as @warn_unused_result 2016-02-09 07:47:42 +01:00
Gwendal Roué ff8b580d17 SelectStatement.sourceTables 2016-02-08 19:15:57 +01:00
Gwendal Roué 247d8a75f7 Support for EXISTS (subquery) 2016-02-08 08:37:58 +01:00
Gwendal Roué b60daca055 Fix case-insensitive lookup of the leftmost column in a row 2016-02-07 17:31:15 +01:00
Gwendal Roué 4004d53da4 Support for comparing collated expressions with optionals 2016-02-07 16:18:30 +01:00
Gwendal Roué 09c599cc62 !FetchRequest.contains() 2016-02-07 15:20:56 +01:00
Gwendal Roué 17aa9350c5 FetchRequest.contains() 2016-02-07 15:18:18 +01:00
Gwendal Roué 94e4fa42bf DatabaseValue adopts StatementColumnConvertible. Stronger tests for DatabaseValue adoption of StatementColumnConvertible and DatabaseValueConvertible. 2016-02-07 12:44:09 +01:00
Gwendal Roué 8cdacf3899 Rename SQLiteStatementConvertible to StatementColumnConvertible + Project organization 2016-02-07 08:51:28 +01:00
Gwendal Roué 9cc0faee2f Ignore trailing whitespace in Database.execute(sql) and Database.updateStatement(sql) instead of letting SQLite parse it as erroneous SQL. 2016-02-04 11:49:45 +01:00
Gwendal Roué 06a3fa8338 Prefer declaring protocol adoptions in extensions 2016-02-01 08:14:28 +01:00
Gwendal Roué b85b958127 Turn RowConvertible.fromRow(_:Row) into RowConvertible.init(_:Row) 2016-02-01 07:57:54 +01:00
Pascal Edmond 3c28277f15 Merge branch 'master' of https://github.com/groue/GRDB.swift into FetchedRecordsController 2016-01-29 15:55:27 +01:00
Gwendal Roué 307008e9bc protocol<RowConvertible+TableMapping>.fetch() and TableMapping.reverse() 2016-01-29 13:38:30 +01:00
Gwendal Roué f08fc31e64 Remove request.fetchCount(db, expr) and request.fetchCount(db, distinct: expr) 2016-01-29 13:23:55 +01:00
Pascal Edmond 7b31e75298 move FetchedResultsController tests 2016-01-29 11:56:18 +01:00
Pascal Edmond 042163eb58 Merge branch 'master' of https://github.com/groue/GRDB.swift into FetchedRecordsController
Conflicts:
	DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/AppDelegate.swift
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/MasterViewController.swift
	GRDB.xcodeproj/project.pbxproj
	Tests/Performance/fmdb
2016-01-29 11:49:57 +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