models

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KVModeDefault    KVMode = 0
	KVModeAppendOnly KVMode = 1

	NAValue    = "#N/A"
	ErrorValue = "#ERROR!"
)

Variables

View Source
var (
	ErrKeyNotFound = errors.New("error key not found")
)

ErrKeyNotFound is returned only for the key-value store and when the key does not exist.

Functions

This section is empty.

Types

type ColumnOrderBy

type ColumnOrderBy struct {
	Column  string
	OrderBy OrderBy
}

ColumnOrderBy defines what ordering is required for a particular column. This is used for GoogleSheetRowStore.Select().

type KVMode

type KVMode int

KVMode defines the mode of the key value store. For more details, please read the README file.

type OrderBy

type OrderBy string

OrderBy defines the type of column ordering used for GoogleSheetRowStore.Select().

const (
	OrderByAsc  OrderBy = "ASC"
	OrderByDesc OrderBy = "DESC"
)

Jump to

Keyboard shortcuts

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