Skip to content

Commit fca27ff

Browse files
Set SQLDialect.supportsReturning to true (vapor#189)
1 parent 64cc15e commit fca27ff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let package = Package(
1111
],
1212
dependencies: [
1313
.package(url: "https://github.com/vapor/postgres-nio.git", from: "1.0.0"),
14-
.package(url: "https://github.com/vapor/sql-kit.git", from: "3.0.0"),
14+
.package(url: "https://github.com/vapor/sql-kit.git", from: "3.5.0"),
1515
.package(url: "https://github.com/vapor/async-kit.git", from: "1.0.0"),
1616
],
1717
targets: [

Sources/PostgresKit/PostgresDialect.swift

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public struct PostgresDialect: SQLDialect {
3030
true
3131
}
3232

33+
public var supportsReturning: Bool {
34+
true
35+
}
36+
3337
public var enumSyntax: SQLEnumSyntax {
3438
.typeName
3539
}

0 commit comments

Comments
 (0)