Column
public struct Column
A column in the database
-
The hidden rowID column
Declaration
Swift
public static let rowID = Column("rowid")
-
The name of the column
Declaration
Swift
public let name: String
-
Creates a column given its name.
Declaration
Swift
public init(_ name: String)
-
This function is an implementation detail of the query interface. Do not use it directly.
See https://github.com/groue/GRDB.swift/#the-query-interface
Low Level Query Interface
See SQLExpression.expressionSQL(_:arguments:)
Declaration
Swift
public func expressionSQL(_ arguments: inout StatementArguments?) -> String
-
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