InsertChainCallInterface
public protocol InsertChainCallInterface
ChainCall interface for inserting
-
prepareInsert(of:intoTable:)Default implementation -
prepareInsertOrReplace(of:intoTable:)Default implementationPrepare chain call for inserting or replacing of
TableEncodableobjectThrows
ErrorDefault Implementation
Declaration
Swift
func prepareInsertOrReplace<Root: TableEncodable>(of cls: Root.Type, intoTable table: String) throws -> InsertParameters
clsType of table codable object
tableTable name
Return Value
-
Prepare chain call for inserting on specific properties
Throws
ErrorDeclaration
Swift
func prepareInsert(on propertyConvertibleList: PropertyConvertible..., intoTable table: String) throws -> InsertParameters
propertyConvertibleListPropertyorCodingTableKeylisttableTable name
Return Value
-
Prepare chain call for inserting or replacing on specific properties
Throws
ErrorDeclaration
Swift
func prepareInsertOrReplace(on propertyConvertibleList: PropertyConvertible...,Parameters
propertyConvertibleListPropertyorCodingTableKeylisttableTable name
Return Value
-
Prepare chain call for inserting on specific properties
Throws
ErrorDeclaration
Swift
func prepareInsert(on propertyConvertibleList: [PropertyConvertible],Parameters
propertyConvertibleListPropertyorCodingTableKeylisttableTable name
Return Value
-
Prepare chain call for inserting or replacing on specific properties
Throws
ErrorDeclaration
Swift
func prepareInsertOrReplace(on propertyConvertibleList: [PropertyConvertible],Parameters
propertyConvertibleListPropertyorCodingTableKeylisttableTable name
Return Value
View on GitHub
Install in Dash
InsertChainCallInterface Protocol Reference