Documentation
¶
Index ¶
- func Client() *c.Client
- func Database() *c.Database
- func DbName() string
- func SetDbName(name string)
- type ArCloudant
- func (ar *ArCloudant) All(results interface{}) error
- func (ar *ArCloudant) DbDelete() (err error)
- func (ar *ArCloudant) DbSave() error
- func (ar *ArCloudant) DbSearch(results interface{}) (err error)
- func (ar *ArCloudant) Find(id interface{}) (interface{}, error)
- func (ar *ArCloudant) Truncate() (numRowsDeleted int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.