Documentation
¶
Overview ¶
Package kvstore -- generated by scloudgen !! DO NOT EDIT !!
Index ¶
- func CreateIndex(cmd *cobra.Command, args []string) error
- func DeleteIndex(cmd *cobra.Command, args []string) error
- func DeleteRecordByKey(cmd *cobra.Command, args []string) error
- func DeleteRecords(cmd *cobra.Command, args []string) error
- func GetRecordByKey(cmd *cobra.Command, args []string) error
- func InsertRecord(cmd *cobra.Command, args []string) error
- func InsertRecords(cmd *cobra.Command, args []string) error
- func ListIndexes(cmd *cobra.Command, args []string) error
- func ListRecords(cmd *cobra.Command, args []string) error
- func Ping(cmd *cobra.Command, args []string) error
- func PutRecord(cmd *cobra.Command, args []string) error
- func QueryRecords(cmd *cobra.Command, args []string) error
- func TruncateRecords(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIndex ¶
CreateIndex Creates an index on a collection.
func DeleteIndex ¶
DeleteIndex Removes an index from a collection.
func DeleteRecordByKey ¶
DeleteRecordByKey Deletes a record with a given key.
func DeleteRecords ¶
DeleteRecords Removes records in a collection that match the query.
func GetRecordByKey ¶
GetRecordByKey Returns a record with a given key.
func InsertRecord ¶
InsertRecord Inserts a record into a collection.
func InsertRecords ¶
InsertRecords Writes multiple records in a single request. If records have duplicate primary keys, only the last duplicate record will be written. If no errors occur, the response array will contain the keys of the written records, in no particular order.
func ListIndexes ¶
ListIndexes Returns a list of all indexes on a collection.
func ListRecords ¶
ListRecords Use key-value query parameters to filter fields. Fields are implicitly ANDed and values for the same field are implicitly ORed.
func PutRecord ¶
PutRecord Updates the record with a given key, either by inserting or replacing the record.
func QueryRecords ¶
QueryRecords Returns a list of query records in a collection.
Types ¶
This section is empty.