Gwendal Roué
365e44e376
TableMapping.deleteAll(db)
2016-09-17 12:50:57 +02:00
Gwendal Roué
0c525a8e52
Only the IGNORE conflict policy invalidates the last inserted rowID ( #118 )
2016-09-16 19:37:14 +02:00
Gwendal Roué
4ac562a55a
Fixes #118
2016-09-16 13:52:43 +02:00
Gwendal Roué
f573046107
Merge branch 'Swift2.3' of github.com:groue/GRDB.swift
...
Conflicts:
CHANGELOG.md
GRDB.swift.podspec
GRDB/Core/DatabaseValue.swift
GRDB/Core/Row.swift
GRDB/Core/RowAdapter.swift
GRDB/Record/Record.swift
README.md
Support/Info.plist
Tests/Public/Core/DatabaseValue/DatabaseValueTests.swift
Tests/Public/Record/MinimalPrimaryKeyRowIDTests.swift
Tests/Public/Record/MinimalPrimaryKeySingleTests.swift
Tests/Public/Record/PrimaryKeyMultipleTests.swift
Tests/Public/Record/PrimaryKeyRowIDTests.swift
Tests/Public/Record/PrimaryKeySingleTests.swift
Tests/Public/Record/PrimaryKeySingleWithReplaceConflictResolutionTests.swift
2016-09-16 06:46:42 +02:00
Gwendal Roué
4a1706ede6
Remove Row.databaseValue(atIndex:) and Row.databaseValue(named:)
2016-09-16 05:58:17 +02:00
Gwendal Roué
f5cb34f506
DatabaseValue no longer adopts StatementColumnConvertible; DatabaseValue.fromDatabaseValue() no longer returns nil for NULL ( fixes #119 )
2016-09-16 05:48:09 +02:00
Gwendal Roué
f825f43528
Upgrade custom SQLite builds to v3.14.1, and restore support for SQLite pre-update hooks
2016-09-15 09:05:09 +02:00
Gwendal Roué
2bcf6a5da8
Restore FetchedRecordsController ( fixes #117 )
...
The Swift 3 compiler in Release configuration collapses when a property of type DatabaseWriter calls its rethrowing write() method. This commit introduces an ad-hoc non-rethrowing method to make the compiler happy.
2016-09-13 13:39:01 +02:00
Gwendal Roué
eac0901af0
Refactor database event filtering
2016-09-10 18:28:44 +02:00
Gwendal Roué
7c0ca54249
Swift 3: move some types declarations inside the Database class
2016-09-10 17:52:15 +02:00
Gwendal Roué
df09d0c8bb
Swift 3 and SQLCipher
2016-09-10 16:03:42 +02:00
Gwendal Roué
3438addf6c
Swift 2.3 (addresses #110 , #112 )
2016-09-09 08:44:03 +02:00
Gwendal Roué
a8b067885f
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
README.md
TODO.md
2016-09-08 08:37:58 +02:00
Gwendal Roué
12f25ddafd
Fix Xcode 8.0 GM compilation errors
2016-09-08 08:08:38 +02:00
Gwendal Roué
72ab62b21b
Merge branch 'WatchOS' of github.com:groue/GRDB.swift
2016-09-07 22:17:08 +02:00
Gwendal Roué
b191323e2b
Query Interface deletion documentation
2016-09-07 18:06:30 +02:00
Gwendal Roué
e4ae0988a4
QueryInterfaceRequest.deleteAll (for @pakko972)
2016-09-07 14:10:16 +02:00
Gwendal Roué
238ebdeed8
Fix the documentation of delete/Fetch/One/All(keys:) so that it makes clear that arguments are unique keys.
2016-09-07 13:44:25 +02:00
Gwendal Roué
8a89be6999
Pass test for Database.tableExists() and temporary table
2016-09-07 13:33:31 +02:00
Gwendal Roué
81c0e73751
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Row.swift
GRDB/QueryInterface/SQLTableBuilder.swift
README.md
2016-08-17 12:58:41 +02:00
Gwendal Roué
5a296b1238
Fix #102
2016-08-17 07:54:13 +02:00
Gwendal Roué
9999ced817
Pass tests for table creation DSL with auto references
...
Conflicts:
CHANGELOG.md
2016-08-16 19:03:35 +02:00
Gwendal Roué
854c070b82
Xcode Version 8.0 beta 6 (8S201h)
2016-08-16 17:47:57 +02:00
Gwendal Roué
5aaecd3946
Row.value(SQLColumn)
2016-08-13 10:59:16 +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é
e1eb1d705a
Pass tests for partial update case insensitivity
2016-08-10 21:14:35 +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é
d9e77284c1
Pass test for multiple foreign keys on a column
2016-08-10 13:23:24 +02:00
Gwendal Roué
4be1923921
Pass test for multiple check constraints on a column
2016-08-10 08:48:24 +02:00
Gwendal Roué
548b2f4b77
Rename DataMapper to DAO
2016-08-10 08:24:31 +02:00
Gwendal Roué
cd776e4b64
Passing tests for delete() when primary key is nil
2016-08-10 08:20:15 +02:00
Gwendal Roué
d96b1bb9f8
Passing tests for update() and exists() when primary key is nil
2016-08-10 08:14:37 +02:00
Gwendal Roué
b5bb92459d
WatchOS framework (adresses #96 )
2016-08-10 06:27:50 +02:00
Gwendal Roué
b510bff195
Documentation
2016-08-09 18:41:30 +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é
580532aeca
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Statement.swift
2016-08-08 08:10:48 +02:00
Gwendal Roué
ced9493069
Better compilation time
2016-08-07 15:26:39 +02:00
Gwendal Roué
76ab3fd1ab
Better compilation time
2016-08-07 15:26:30 +02:00
Gwendal Roué
2c3bf06740
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/QueryInterface/QueryInterfaceRequest.swift
GRDB/QueryInterface/SQLCollation.swift
GRDB/QueryInterface/SQLFunction.swift
GRDB/QueryInterface/SQLOperator.swift
GRDB/QueryInterface/SQLSelectQuery.swift
GRDB/QueryInterface/SQLTableBuilder.swift
2016-08-07 12:57:48 +02:00
Gwendal Roué
a132b58227
Promote _SQLExpressible protocol to SQLExpressible
2016-08-07 12:46:19 +02:00
Gwendal Roué
8d91141d6a
Swift 3 : lowercase enum cases for DatabasePreUpdateEvent.Kind
2016-08-07 12:25:13 +02:00
Gwendal Roué
a8ac895998
Swift 3 documentation
2016-08-07 12:24:32 +02:00
Gwendal Roué
ee8aa1d9c6
Swift 3: move @noescape qualifiers
2016-08-07 11:04:04 +02:00
Gwendal Roué
206e45214f
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
2016-08-07 11:00:25 +02:00
Gwendal Roué
7642b522f9
SQLTableBuilder: add missing @noescape qualifiers
2016-08-07 10:57:26 +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é
6cca2fd991
Rename PrimaryKey to PrimaryKeyInfo
2016-08-06 14:21:39 +02:00