DataStoreStatement
public protocol DataStoreStatement
This protocol represents a statement that will be executed in a specific storage implementations. Concrete types of this protocol may include SQL insert statements, queries or GraphQL mutations.
-
The type of the variables container related to a concrete statement implementation
Declaration
Swift
associatedtype Variables
-
The model schema of the
Model
associated with a particular statementDeclaration
Swift
var modelSchema: ModelSchema { get }
-
The actual string content of the statement (e.g. a SQL query or a GraphQL document)
Declaration
Swift
var stringValue: String { get }
-
The variables associated with the statement
Declaration
Swift
var variables: Variables { get }