kvstore

package
v1.12.0-beta.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package kvstore -- generated by scloudgen !! DO NOT EDIT !!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIndex

func CreateIndex(cmd *cobra.Command, args []string) error

CreateIndex Creates an index on a collection.

func DeleteIndex

func DeleteIndex(cmd *cobra.Command, args []string) error

DeleteIndex Removes an index from a collection.

func DeleteRecordByKey

func DeleteRecordByKey(cmd *cobra.Command, args []string) error

DeleteRecordByKey Deletes a record with a given key.

func DeleteRecords

func DeleteRecords(cmd *cobra.Command, args []string) error

DeleteRecords Removes records in a collection that match the query.

func GetRecordByKey

func GetRecordByKey(cmd *cobra.Command, args []string) error

GetRecordByKey Returns a record with a given key.

func InsertRecord

func InsertRecord(cmd *cobra.Command, args []string) error

InsertRecord Inserts a record into a collection.

func InsertRecords

func InsertRecords(cmd *cobra.Command, args []string) error

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

func ListIndexes(cmd *cobra.Command, args []string) error

ListIndexes Returns a list of all indexes on a collection.

func ListRecords

func ListRecords(cmd *cobra.Command, args []string) error

ListRecords Use key-value query parameters to filter fields. Fields are implicitly ANDed and values for the same field are implicitly ORed.

func Ping

func Ping(cmd *cobra.Command, args []string) error

Ping Returns the health status from the database.

func PutRecord

func PutRecord(cmd *cobra.Command, args []string) error

PutRecord Updates the record with a given key, either by inserting or replacing the record.

func QueryRecords

func QueryRecords(cmd *cobra.Command, args []string) error

QueryRecords Returns a list of query records in a collection.

func TruncateRecords added in v1.10.0

func TruncateRecords(cmd *cobra.Command, args []string) error

TruncateRecords Deletes all the records in a collection.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL