methods

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(fileId string) error

func Get

func Get(fileId string) (*interface{}, error)

func Insert

func Insert(v interface{}, flag ...bool) (string, *data.Error)
func Search(start, end int64, params nefts_config.Options) (*nefts_config.QueryResults, *nefts_config.Error)

func Update

func Update(id string, params UpdateSpec) (uint64, *data.Error)

Types

type UpdateSpec

type UpdateSpec struct {
	Remove interface{} `json:"remove"`
	Upsert interface{} `json:"upsert"`
	Append interface{} `json:"append"`
}

Jump to

Keyboard shortcuts

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