Column

public struct Column

A column in the database

See https://github.com/groue/GRDB.swift#the-query-interface

  • A matching SQL expression with the MATCH SQL operator.

    // content MATCH '...'
    Column("content").match(pattern)
    

    If the search pattern is nil, SQLite will evaluate the expression to false.

    Declaration

    Swift

    public func match(_ pattern: FTS3Pattern?) -> SQLExpression
  • The hidden rowID column

    Declaration

    Swift

    public static let rowID = Column("rowid")