Initializergrdb 7.2.0GRDB
init(unicodeScalarLiteral:)
SQLRequest.swift:220init(unicodeScalarLiteral: String)
init(unicodeScalarLiteral: String)
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct SQLRequest<RowDecoder>
An SQL request that can decode database rows.
@frozen struct String
A Unicode string value that is a collection of characters.
init(stringLiteral: String)
Creates an SQLRequest
from the given literal SQL string.
init(extendedGraphemeClusterLiteral: String)
init(literal sqlLiteral: SQL, adapter: (any RowAdapter)? = nil, cached: Bool = false)
Creates a request from an SQL
literal.
init(sql: String, arguments: StatementArguments = StatementArguments(), adapter: (any RowAdapter)? = nil, cached: Bool = false)
Creates a request from an SQL string.
init(stringInterpolation sqlInterpolation: SQLInterpolation)
var adapter: (any RowAdapter)?
The row adapter.
var sqlSubquery: SQLSubquery { get }
func fetchCount(_ db: Database) throws -> Int
func makePreparedRequest(_ db: Database, forSingleResult singleResult: Bool = false) throws -> PreparedRequest