Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CouchDBClient ¶
type CouchDBClient struct {
Databases databases.CouchDBDatabases
Documents documents.CouchDBDocuments
Server server.CouchDBServer
}
type DocumentBase ¶ added in v1.3.4
type DocumentBase struct {
Id string `json:"_id,omitempty"`
Rev string `json:"_rev,omitempty"`
Deleted bool `json:"_deleted,omitempty"`
Attachments map[string]any `json:"_attachments,omitempty"`
Conflicts []string `json:"_conflicts,omitempty"`
DeletedConflicts []string `json:"_deleted_conflicts,omitempty"`
LocalSeq string `json:"_local_seq,omitempty"`
RevsInfo []any `json:"_revs_info,omitempty"`
Revisions map[string]any `json:"_revisions,omitempty"`
}
DocumentBase represents a base document structure in CouchDB. This exists for the user of the library to extend and use as a base for their own document structures.
Click to show internal directories.
Click to hide internal directories.