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é
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é
b5bb92459d
WatchOS framework (adresses #96 )
2016-08-10 06:27:50 +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é
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
Gwendal Roué
54f8550229
Swift 3
2016-08-02 08:38:45 +02:00
Gwendal Roué
f6ae7587ea
More where clause to end of function declarations
2016-08-02 08:20:05 +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é
548ff068fd
Partial update WIP: implementation
2016-07-28 08:41:22 +02:00
Gwendal Roué
7ea2d7d1ab
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/DatabaseValueConvertible.swift
2016-07-22 10:08:48 +02:00
Gwendal Roué
8ecfb872b6
Simplify DatabaseValueConvertible.sqlLiteral
2016-07-22 10:01:36 +02:00
Gwendal Roué
2a91ab07b9
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/Core/Statement.swift
TODO.md
Tests/Private/RecordUniqueIndexTests.swift
2016-07-22 09:01:39 +02:00
Gwendal Roué
111d11a71b
DatabaseValueConvertible.sqlLiteral returns a safely escaped SQL literal (addresses #83 )
2016-07-22 08:49:35 +02:00
Gwendal Roué
6aeee05e8a
Code cleanup
2016-07-22 08:18:04 +02:00
Gwendal Roué
0e46ff2b6d
Documentation
2016-07-21 19:10:41 +02:00
Gwendal Roué
fcf90a053a
Database.indexes(on:) and Database.table(_:hasUniqueKey:) are public
2016-07-21 19:08:27 +02:00
Gwendal Roué
ebdd6c5a4d
Update for Xcode Version 8.0 beta 3 (8S174q)
2016-07-19 14:01:46 +02:00
Gwendal Roué
b3c12c33b7
Merge branch 'master' into Swift3bis
2016-07-19 08:20:22 +02:00
Gwendal Roué
df32c1c5d5
Allow SelectStatement to perform database changes - Fixes #80 and #82 for good.
2016-07-18 12:57:38 +02:00
Gwendal Roué
e93f13f6b0
Remove dead documentation
2016-07-09 08:57:39 +02:00
Gwendal Roué
02d2b89a4d
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
...
Conflicts:
GRDB.xcodeproj/project.pbxproj
GRDB/Core/Database.swift
GRDB/Core/DatabaseScheduler.swift
GRDB/Core/SerializedDatabase.swift
GRDB/Core/Statement.swift
2016-07-08 18:30:16 +02:00
Gwendal Roué
34ff64b103
Rename DatabaseScheduler to SchedulingWatchdog
2016-07-08 18:22:34 +02:00
Gwendal Roué
827dc3da8b
Cleanup
2016-07-08 18:02:06 +02:00
Gwendal Roué
1cd9c8f817
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/DatabaseScheduler.swift
GRDB/Core/SerializedDatabase.swift
2016-07-08 17:52:27 +02:00
Gwendal Roué
e8a9035e68
Simplify DatabaseScheduler, and let SerializedDatabase implement the serialization constraints.
2016-07-08 17:38:52 +02:00
Gwendal Roué
a288c8d7fb
Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
...
Conflicts:
GRDB/Core/Database.swift
GRDB/Core/RowAdapter.swift
README.md
Tests/Public/Core/Row/AdapterRowTests.swift
Tests/Public/Core/Row/RowConvertibleTests.swift
2016-07-08 16:57:16 +02:00
Gwendal Roué
e664ab18ee
Fixes #80
2016-07-08 14:30:45 +02:00
Gwendal Roué
b78c5b32c6
Documentation
2016-07-08 10:01:23 +02:00
Gwendal Roué
4ddc8f950e
Row adapters: rename AdaptedColumnsDescription to ConcreteColumnMapping
2016-07-08 09:52:04 +02:00
Gwendal Roué
358c3ab0c3
Row adapters: rename "variants" to "scopes"
2016-07-08 08:44:41 +02:00
Gwendal Roué
b24075ca1c
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/Core/Utils.swift
GRDB/Record/TableMapping.swift
README.md
Tests/Private/DatabasePoolSchemaCacheTests.swift
Tests/Public/Encryption/EncryptionTests.swift
Tests/Public/Record/PrimaryKeyNoneTests.swift
2016-07-07 08:41:17 +02:00
Gwendal Roué
0c7cff5602
Update for Xcode Version 8.0 beta 2 (8S162m)
2016-07-07 05:30:43 +02:00
Gwendal Roué
d35b65c9d2
#56 : cleanup
...
- Dabase.indexes(tableName) returns actual indexes (no more fake index on INTEGER PRIMARY KEY column)
- Database.colums(_:uniquelyIdentifyRowsIn:) checks indexes, and primary key
- DatabaseSchemaCache caches table indexes (with invalidation on CREATE/DROP INDEX statements)
2016-07-06 19:09:25 +02:00
Gwendal Roué
baff716ef6
#56 : fetchOne(_:key:Dictionary) performs the same unique index check as deleteOne()
2016-07-06 08:18:14 +02:00
Gwendal Roué
1141676223
#56 : Database.indexes(tableName) includes the implicit unique index on INTEGER PRIMARY KEY column.
2016-07-05 22:33:56 +02:00
Gwendal Roué
a6ce80d39b
#56 : TableMapping.deleteOne(_🔑 ), TableMapping.deleteAll(_:keys:)
2016-07-05 22:16:23 +02:00