kvstore

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 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 Inserts multiple records in a single request.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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