Sequence (ext)
You’re viewing third-party extensions to Sequence
, a protocol from the Swift standard library.
You can also read the documentation forSequence
itself.
extension Sequence
You’re viewing third-party extensions to Sequence
, a protocol from the Swift standard library.
You can also read the documentation forSequence
itself.
extension Sequence
protocol Sequence<Element>
A type that provides sequential, iterated access to its elements.
import GRDB
A toolkit for SQLite databases, with a focus on application development
func flatMap<SegmentOfResult>(_ transform: @escaping (Iterator.Element) throws -> SegmentOfResult) -> FlattenCursor<MapCursor<AnyCursor<Iterator.Element>, SegmentOfResult>> where SegmentOfResult : Cursor
Returns a cursor over the concatenated results of mapping transform over self.
protocol SQLExpressible
A type that can be used as an SQL expression.
func contains(_ element: some SQLSpecificExpressible) -> SQLExpression
Returns an SQL expression that checks the inclusion of an expression in a sequence.
protocol SQLSpecificExpressible : SQLExpressible, SQLOrderingTerm, SQLSelectable
A database-specific type that can be used as an SQL expression.
func joined(operator: SQLExpression.AssociativeBinaryOperator) -> SQLExpression
Returns an expression by joining all elements with an associative SQL binary operator.
func contains(_ element: some SQLSpecificExpressible) -> SQLExpression
Returns an SQL expression that checks the inclusion of an expression in a sequence.
func joined(operator: SQLExpression.AssociativeBinaryOperator) -> SQLExpression
Returns an expression by joining all elements with an associative SQL binary operator.
struct SQL
An SQL literal.
func joined(separator: String = "") -> SQL
Returns the concatenated SQL
literal of this sequence of literals, inserting the given raw SQL separator between each element.