cloudant

package
v0.0.0-...-711f10a Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: GPL-2.0, GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() *c.Client

func Database

func Database() *c.Database

func DbName

func DbName() string

func SetDbName

func SetDbName(name string)

Types

type ArCloudant

type ArCloudant struct {
	ActiveRecord
	c.CloudantDocument
	CreatedAt *time.Time `json:"created_at,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*ArCloudant) All

func (ar *ArCloudant) All(results interface{}) error

func (*ArCloudant) DbDelete

func (ar *ArCloudant) DbDelete() (err error)

func (*ArCloudant) DbSave

func (ar *ArCloudant) DbSave() error

func (*ArCloudant) DbSearch

func (ar *ArCloudant) DbSearch(results interface{}) (err error)

func (*ArCloudant) Find

func (ar *ArCloudant) Find(id interface{}) (interface{}, error)

func (*ArCloudant) Truncate

func (ar *ArCloudant) Truncate() (numRowsDeleted int, err error)

Jump to

Keyboard shortcuts

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