Commit Graph
52 Commits
Author SHA1 Message Date
Gwendal Roué e11673d15c Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB/Core/Database.swift
	GRDB/FetchRequest/SQLSelectQuery.swift
	GRDB/Record/FetchedRecordsController.swift
	GRDB/Record/TableMapping.swift
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
	Tests/Public/Core/Savepoint/SavepointTests.swift
	Tests/Public/Core/TransactionObserver/TransactionObserverSavepointsTests.swift
	Tests/Public/Core/TransactionObserver/TransactionObserverTests.swift
2016-06-03 05:17:11 +02:00
Gwendal Roué 88c284dbf1 Merge branch 'master' into Swift3bis
Conflicts:
	GRDB/Core/Database.swift
	GRDB/FetchRequest/QueryInterfaceRequest.swift
	GRDB/FetchRequest/SQLCollation.swift
	GRDB/FetchRequest/SQLFunction.swift
	GRDB/FetchRequest/SQLOperator.swift
	GRDB/FetchRequest/SQLSelectQuery.swift
	README.md
2016-06-02 20:47:04 +02:00
Gwendal Roué aa6097dff8 swift-DEVELOPMENT-SNAPSHOT-2016-05-31-a 2016-06-02 19:58:58 +02:00
Gwendal Roué d4c0dd824b Merge pull request #64 from swiftlyfalling/fix-slow-compile
Slow compilation fixes
2016-06-02 13:05:26 +02:00
Gwendal Roué 7c4ff7677d swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a 2016-06-02 08:38:15 +02:00
Gwendal Roué cb36991cb2 Cleanup Query Interface protocols 2016-06-02 08:09:44 +02:00
swiftlyfalling f15a4df79e Slow compilation fixes
Implemented a workaround for the cause of the two slowest-to-compile
methods.
2016-06-01 21:12:33 -04:00
Gwendal Roué 6e259f9a0e Rename SQLRequest to SQLFetchRequest 2016-05-22 20:21:30 +02:00
Gwendal Roué 02a21b8050 FetchRequest documentation 2016-05-22 20:18:49 +02:00
Gwendal Roué 1ee4437970 Fix Row.fetch(db, request) and RowConvertible.fetch(db, request) by using the request’s adapter. 2016-05-22 19:55:57 +02:00
Gwendal Roué daba5b2102 Merge branch 'master' into RowAdapter
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Record/FetchedRecordsController.swift
	TODO.md
2016-05-19 20:40:26 +02:00
Gwendal Roué 41f2cdc6e6 Documentation 2016-05-19 14:08:21 +02:00
Gwendal Roué cf572ea931 Documentation 2016-05-19 14:03:41 +02:00
Gwendal Roué 5fac4abc07 Use FetchRequest instead of QueryInterfaceRequest where relevant 2016-05-19 13:35:45 +02:00
Gwendal Roué 28a795eddb Rename FetchRequestType to FetchRequest 2016-05-19 13:09:30 +02:00
Gwendal Roué 06b824928b Rename FetchRequest to QueryInterfaceRequest 2016-05-19 13:08:48 +02:00
Gwendal Roué 5b57707b86 Rename FetchRequest to QueryInterfaceRequest 2016-05-19 13:08:36 +02:00
Gwendal Roué a348febf3e Introduce FetchRequestType 2016-05-19 12:23:58 +02:00
Gwendal Roué 95cb311f6c More TODO 2016-05-09 08:06:26 +02:00
Gwendal Roué 9f4b03c14f Mark methods that are slow to compile (thanks to https://medium.com/swift-programming/speeding-up-slow-swift-build-times-922feeba5780) 2016-04-28 06:36:23 +02:00
Gwendal Roué 43e9a63210 FetchRequest.reverse() sort by descending rowID when no ordering has been specified. 2016-04-21 09:03:01 +02:00
Gwendal Roué 4bcff181c7 Back to block-based database accesses.
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
2016-04-08 08:29:58 +02:00
Gwendal Roué 9f6c5ccccb Fix availability attributes of localizedCapitalizedString, etc. Restore iOS7 compatibility. 2016-04-03 22:22:06 +02:00
Gwendal Roué 4b479ad327 Merge branch 'master' into FetchedRecordsController
Conflicts:
	CHANGELOG.md
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/Assets.xcassets/AppIcon.appiconset/Contents.json
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/Database.swift
	TODO.md
2016-03-28 18:54:59 +02:00
Gwendal Roué a97530bde8 The Query interface no longer use non-unicode aware UPPER and LOWER functions 2016-03-28 16:35:20 +02:00
Gwendal Roué deb25d916d Merge branch 'master' into FetchedRecordsController
Conflicts:
	TODO.md
2016-03-26 07:36:59 +01:00
Gwendal Roué 293268a004 Query interface: fix SQL generation for boolean tests
For example,`valid == true` now generates `"valid"`
2016-03-24 13:59:43 +01:00
Gwendal Roué c558d8fcaa Query interface: fix SQL generation for boolean tests
For example,`valid == true` now generates `"valid" <> 0`
2016-03-24 13:50:52 +01:00
Gwendal Roué 36a480a5fc FetchedRecordsController: Clean up 2016-03-24 06:33:05 +01:00
Gwendal Roué 63545c1f08 Documentation 2016-03-15 19:05:04 +01:00
Gwendal Roué 1f1ac06c91 Documentation 2016-03-12 19:22:26 +01:00
Gwendal Roué 9e9fafcc5c Documentation 2016-03-12 08:21:17 +01:00
Gwendal Roué 61f944fdaa Cleanup 2016-03-11 18:12:42 +01:00
Gwendal Roué 6f4a29e6f8 DatabaseReader WIP 2016-03-11 07:34:44 +01:00
Gwendal Roué 7364d99b6b WIP 2016-03-10 18:51:08 +01:00
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é bb7fe8cd7d SQL support cleanup 2016-02-10 08:25:15 +01:00
Gwendal Roué 247d8a75f7 Support for EXISTS (subquery) 2016-02-08 08:37:58 +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é 070f4276de Typo 2016-02-07 09:29:23 +01:00
Gwendal Roué d9626faaec FetchRequest: SQLSupport cleanup 2016-02-07 09:25:23 +01:00
Gwendal Roué 8cdacf3899 Rename SQLiteStatementConvertible to StatementColumnConvertible + Project organization 2016-02-07 08:51:28 +01:00
Gwendal Roué 567d912bf7 Documentation 2016-02-05 19:54:21 +01:00
Gwendal Roué 122f4c835a Minor 2016-02-03 08:34:01 +01:00
Gwendal Roué 49b80a4f71 Documentation formatting 2016-01-31 13:38:41 +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