Documentation ¶
Index ¶
- type IndexedProperty
- type KeyType
- type SQLServer
- func (s *SQLServer) BulkDelete(req []state.DeleteRequest) error
- func (s *SQLServer) BulkSet(req []state.SetRequest) error
- func (s *SQLServer) Delete(req *state.DeleteRequest) error
- func (s *SQLServer) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (s *SQLServer) Init(metadata state.Metadata) error
- func (s *SQLServer) Multi(request *state.TransactionalStateRequest) error
- func (s *SQLServer) Set(req *state.SetRequest) error
- type TvpDeleteTableStringKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexedProperty ¶
type IndexedProperty struct { ColumnName string `json:"column"` Property string `json:"property"` Type string `json:"type"` }
IndexedProperty defines a indexed property
type KeyType ¶
type KeyType string
KeyType defines type of the table identifier
const ( // StringKeyType defines a key of type string StringKeyType KeyType = "string" // UUIDKeyType defines a key of type UUID/GUID UUIDKeyType KeyType = "uuid" //IntegerKeyType defines a key of type integer IntegerKeyType KeyType = "integer" //InvalidKeyType defines an invalid key type InvalidKeyType KeyType = "invalid" )
func KeyTypeFromString ¶
KeyTypeFromString tries to create a KeyType from a string value
type SQLServer ¶
type SQLServer struct {
// contains filtered or unexported fields
}
SQLServer defines a Ms SQL Server based state store
func NewSQLServerStateStore ¶
NewSQLServerStateStore creates a new instance of a Sql Server transaction store
func (*SQLServer) BulkDelete ¶
func (s *SQLServer) BulkDelete(req []state.DeleteRequest) error
BulkDelete removes multiple entries from the store
func (*SQLServer) BulkSet ¶
func (s *SQLServer) BulkSet(req []state.SetRequest) error
BulkSet adds/updates multiple entities on store
func (*SQLServer) Delete ¶
func (s *SQLServer) Delete(req *state.DeleteRequest) error
Delete removes an entity from the store
func (*SQLServer) Get ¶
func (s *SQLServer) Get(req *state.GetRequest) (*state.GetResponse, error)
Get returns an entity from store
type TvpDeleteTableStringKey ¶
TvpDeleteTableStringKey defines a table type with string key
Click to show internal directories.
Click to hide internal directories.