Commit Graph
2320 Commits
Author SHA1 Message Date
Gwendal Roué edc615f487 Tests for generated UPDATE queries allow some variation 2016-08-11 08:07:58 +02:00
Gwendal Roué 34ef36544e Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/Record/Persistable.swift
	README.md
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
2016-08-10 21:29:30 +02:00
Gwendal Roué ab035a3887 Failing tests for partial update case insensitivity 2016-08-10 21:14:26 +02:00
Gwendal Roué c92f0f3edf Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/QueryInterface/SQLTableBuilder.swift
	GRDB/Record/Persistable.swift
	GRDB/Record/Record.swift
	README.md
	TODO.md
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/SQLTableBuilder/SQLTableBuilderTests.swift
2016-08-10 20:43:24 +02:00
Gwendal Roué 60e0a731ad Partial updates now requires updated columns to be present in the persistentDictionary. 2016-08-10 18:54:32 +02:00
Gwendal Roué 4d9c7d0dcb Failing test for multiple foreign keys on a column 2016-08-10 13:23:19 +02:00
Gwendal Roué 7bb5866164 Failing test for multiple check constraints on a column 2016-08-10 08:48:06 +02:00
Gwendal Roué aeca4c0f9c Failing tests that delete() returns false when primary key is nil 2016-08-10 08:16:32 +02:00
Gwendal Roué 944bdd5bba Failing tests that update() throws PersistenceError.NotFound when primary key is nil 2016-08-10 08:03:41 +02:00
Gwendal Roué e61550841b Failing tests that exists() returns false when primary key is nil 2016-08-10 08:00:27 +02:00
Gwendal Roué b5bb92459d WatchOS framework (adresses #96) 2016-08-10 06:27:50 +02:00
Gwendal Roué 95289f1715 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB/QueryInterface/SQLTableBuilder.swift
	README.md
	TODO.md
	Tests/Public/SQLTableBuilder/SQLTableBuilderTests.swift
2016-08-08 13:35:59 +02:00
Gwendal Roué c6fd36b75d SQLTableBuilder: column.defaults(to:) 2016-08-08 13:19:43 +02:00
Gwendal Roué 404706a3db Swift 3 tests 2016-08-07 13:19:53 +02:00
Gwendal Roué 00a1eebf60 Swift 3 Grand Renaming: SQLColumn -> Column 2016-08-07 10:38:24 +02:00
Gwendal Roué bcd6e6767a Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/QueryInterface/SQLCollation.swift
	README.md
	TODO.md
	Tests/Public/Core/DatabaseValueConvertible/DatabaseValueConversionTests.swift
	Tests/Public/Core/StatementColumnConvertible/StatementColumnConvertibleTests.swift
	Tests/Public/QueryInterfaceRequest/QueryInterfaceRequestTests.swift
2016-08-07 10:11:31 +02:00
Gwendal Roué cfa091dbc4 SQLTableBuilder documentation + drop support for explicit primary key ordering until someone asks for it. 2016-08-06 13:40:04 +02:00
Gwendal Roué 988ac8e60b SQLTableBuilder polish 2016-08-05 23:45:27 +02:00
Gwendal Roué 29d4396956 SQLTableBuilder: tests for unicode default strings 2016-08-05 23:35:56 +02:00
Gwendal Roué 0ba0023099 SQLTableBuilder documentation + support for LENGTH SQLite function 2016-08-05 23:22:47 +02:00
Gwendal Roué 00a032e6b0 SQLTableBuilder documentation 2016-08-05 22:58:03 +02:00
Gwendal Roué 8991232681 SQLTableBuilder: alter(table:) { $0.add(column:) } 2016-08-05 20:31:18 +02:00
Gwendal Roué 31a0604341 SQLTableBuilder: rename(table:to:) 2016-08-05 20:04:28 +02:00
Gwendal Roué 8b6ac9c736 SQLTableBuilder: create(index:), drop(index:) 2016-08-05 19:58:12 +02:00
Gwendal Roué ac5279fa70 Use SQLCollation instead of String 2016-08-05 18:51:06 +02:00
Gwendal Roué f2a7706bdf SQLTableBuilder: test ordering of DSL statements is not the ordering of SQL clauses 2016-08-05 14:06:11 +02:00
Gwendal Roué b88d2fe111 SQLTableBuilder: table.check() 2016-08-05 14:03:50 +02:00
Gwendal Roué 9b9b4d4bdf SQLTableBuilder: column.defaults() and column.check() now accept SQL literal 2016-08-05 13:52:09 +02:00
Gwendal Roué 61cb276b94 SQLTableBuilder: table.foreignKey() 2016-08-05 09:05:32 +02:00
Gwendal Roué f83f5455c2 SQLTableBuilder: table.primaryKey(), table.uniqueKey() 2016-08-05 08:48:46 +02:00
Gwendal Roué 39e3cba80e SQLTableBuilder: column.references(deferred: true) 2016-08-05 08:24:00 +02:00
Gwendal Roué 8246f1c990 SQLTableBuilder: column.references() 2016-08-05 08:17:09 +02:00
Gwendal Roué 10c32381d4 SQLTableBuilder: column.collate() 2016-08-04 23:05:56 +02:00
Gwendal Roué 5b6efbbb5f SQLTableBuilder: column.defaults() 2016-08-04 22:57:14 +02:00
Gwendal Roué 5edb5276f8 SQLTableBuilder: column.check() 2016-08-04 13:57:32 +02:00
Gwendal Roué b1109780ed SQLTableBuilder: column.notNull() and unique() 2016-08-04 13:48:08 +02:00
Gwendal Roué 8332dc188a SQLTableBuilder tests 2016-08-04 13:34:14 +02:00
Gwendal Roué 3e28fd69b3 SQLTableBuilder: table & column primary key options 2016-08-04 09:10:32 +02:00
Gwendal Roué 4cf6f7bd7c SQLTableBuilder: first passing test 2016-08-04 08:51:00 +02:00
Gwendal Roué a2b0a57971 Realm 1.0.2 2016-08-03 13:27:50 +02:00
Gwendal Roué 2d78d04d52 Update for Xcode Version 8.0 beta 4 (8S188o) 2016-08-01 22:33:50 +02:00
Gwendal Roué ebe147ee34 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Row.swift
	README.md
	TODO.md
2016-08-01 18:47:42 +02:00
Gwendal Roué 0fb1eec3cd Row adopts DictionaryLiteralConvertible 2016-07-31 06:18:16 +02:00
Gwendal Roué 7404c642e3 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	GRDB/Core/DatabaseSchemaCache.swift
	GRDB/Record/Persistable.swift
	GRDB/Record/Record.swift
	README.md
	Tests/Private/DatabasePoolSchemaCacheTests.swift
	Tests/Public/Core/Persistable/MutablePersistableTests.swift
	Tests/Public/Core/Persistable/PersistableTests.swift
	Tests/Public/Record/RecordSubClassTests.swift
2016-07-30 12:58:10 +02:00
Gwendal Roué b16656bd23 Partial update WIP: cache & column case insensitivity 2016-07-28 19:28:46 +02:00
Gwendal Roué 176a23fe97 Partial update WIP: tests 2016-07-28 08:53:17 +02:00
Gwendal Roué 50ce433bcb Partial update WIP: public API 2016-07-28 08:25:08 +02:00
Gwendal Roué 77278e77eb Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	GRDB/QueryInterface/QueryInterfaceRequest.swift
	GRDB/QueryInterface/SQLCollation.swift
	GRDB/QueryInterface/SQLSelectQuery.swift
2016-07-22 13:48:39 +02:00
Gwendal Roué c6f2c8a3f5 Remove dead code 2016-07-22 13:40:07 +02:00
Gwendal Roué e037972dbb Remove dead code 2016-07-22 13:38:31 +02:00