-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from vapor/release
release
- Loading branch information
Showing
9 changed files
with
96 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
@available(*, deprecated, renamed: "PostgreSQLDataConvertible") | ||
public typealias PostgreSQLColumnStaticRepresentable = PostgreSQLDataConvertible | ||
|
||
/// - warning: Deprecated. | ||
@available(*, deprecated, renamed: "PostgreSQLType") | ||
public protocol PostgreSQLJSONType: PostgreSQLType { } | ||
|
||
/// - warning: Deprecated. | ||
@available(*, deprecated, renamed: "PostgreSQLType") | ||
public protocol PostgreSQLArrayType: PostgreSQLType { } | ||
|
||
// - warning: Deprecated. | ||
@available(*, deprecated, message: "Use custom migration instead.") | ||
public protocol PostgreSQLEnumType { } | ||
|
||
// - warning: Deprecated. | ||
@available(*, deprecated, message: "Use custom migration instead.") | ||
public protocol PostgreSQLType { } | ||
/// Nothing here yet... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,2 @@ | ||
@_exported import FluentSQL | ||
@_exported import PostgreSQL | ||
|
||
//extension QueryBuilder where Database == PostgreSQLDatabase { | ||
// public func keys(_ keys: PostgreSQLQuery.Key...) -> Self { | ||
// query.keys = keys | ||
// return self | ||
// } | ||
// | ||
// // MARK: Group By | ||
// | ||
// /// Adds a group by to the query builder. | ||
// /// | ||
// /// query.groupBy(\.name) | ||
// /// | ||
// /// - parameters: | ||
// /// - field: Swift `KeyPath` to field on model to group by. | ||
// /// - returns: Query builder for chaining. | ||
// public func groupBy<T>(_ field: KeyPath<Result, T>) -> Self { | ||
// return groupBy(.expression(.column(PostgreSQLDatabase.queryField(.keyPath(field))), alias: nil)) | ||
// } | ||
// | ||
// /// Adds a manually created group by to the query builder. | ||
// /// - parameters: | ||
// /// - groupBy: New `Query.GroupBy` to add. | ||
// /// - returns: Query builder for chaining. | ||
// public func groupBy(_ groupBy: PostgreSQLQuery.Key) -> Self { | ||
// query.groupBy.append(groupBy) | ||
// return self | ||
// } | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
|
||
protocol AnyArray { | ||
static var anyElementType: Any.Type { get } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters