Documentation
¶
Overview ¶
Package store provides an API into the DB GoCore Store operations.
Index ¶
- type StoreController
- func (*StoreController) Add(context session_functions.RequestContext, state string, ...)
- func (*StoreController) Append(context session_functions.RequestContext, state string, ...)
- func (sc *StoreController) Get(context session_functions.RequestContext, state string, ...)
- func (*StoreController) GetByFilter(context session_functions.RequestContext, state string, ...)
- func (sc *StoreController) GetByPath(context session_functions.RequestContext, state string, ...)
- func (sc *StoreController) Publish(context session_functions.RequestContext, state string, ...)
- func (*StoreController) Remove(context session_functions.RequestContext, state string, ...)
- func (sc *StoreController) Set(context session_functions.RequestContext, state string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StoreController ¶
type StoreController struct{}
StoreController is an api controller for interacting with the GoCore Data Store.
func (*StoreController) Add ¶
func (*StoreController) Add(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
Add creates a new collection object to the collection
func (*StoreController) Append ¶
func (*StoreController) Append(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
Append adds a new row object to a collection path
func (*StoreController) Get ¶
func (sc *StoreController) Get(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
Get returns an entity from a collection store.
func (*StoreController) GetByFilter ¶
func (*StoreController) GetByFilter(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
GetByFilter returns an array of entities from a collection store.
func (*StoreController) GetByPath ¶
func (sc *StoreController) GetByPath(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
GetByPath returns an entity field value from a collection store.
func (*StoreController) Publish ¶
func (sc *StoreController) Publish(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
Publish will fetch the store record and publish to all subscribers.
func (*StoreController) Remove ¶
func (*StoreController) Remove(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
Remove removes the document from the collection.
func (*StoreController) Set ¶
func (sc *StoreController) Set(context session_functions.RequestContext, state string, respond session_functions.ServerResponse)
Set sets an entity field in the collection store.
Click to show internal directories.
Click to hide internal directories.