Sequence
protocol Sequence
                - 
                  
                  
Returns a cursor over the concatenated results of mapping transform over self.
Declaration
Swift
public func flatMap<SegmentOfResult: Cursor>(_ transform: @escaping (Iterator.Element) throws -> SegmentOfResult) -> FlattenCursor<MapCursor<IteratorCursor<Self.Iterator>, SegmentOfResult>> 
- 
                  
                  
An SQL expression that checks the inclusion of an expression in a sequence.
// id IN (1,2,3) [1, 2, 3].contains(Column("id"))Declaration
Swift
public func contains(_ element: SQLSpecificExpressible) -> SQLExpression - 
                  
                  
An SQL expression that checks the inclusion of an expression in a sequence.
// name IN ('A', 'B') COLLATE NOCASE ["A", "B"].contains(Column("name").collating(.nocase))Declaration
Swift
public func contains(_ element: SQLCollatedExpression) -> SQLExpression 
View on GitHub
Install in Dash
        Sequence Extension Reference