mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
More Associations and inflections
This commit is contained in:
1 parent
a1b0baaca9
commit
8e2a8fe9d8
17 files changed
+236
-203
No files matched your search
@@ -138,7 +138,7 @@ struct SQLRelation {
|
||||
}
|
||||
|
||||
fileprivate func makeAssociationForKey(_ key: String) -> SQLAssociation {
|
||||
let key = SQLAssociationKey(name: key, isInflectable: false)
|
||||
let key = SQLAssociationKey.fixed(key)
|
||||
return SQLAssociation(key: key, condition: condition, relation: relation, isSingular: kind.isSingular)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user