Returns the body of the current revision of a document
(ctx context.Context, docid string)
| 283 | |
| 284 | // Returns the body of the current revision of a document |
| 285 | func (db *DatabaseCollectionWithUser) Get1xBody(ctx context.Context, docid string) (Body, error) { |
| 286 | return db.Get1xRevBody(ctx, docid, "", false, nil) |
| 287 | } |
| 288 | |
| 289 | // Get Rev with all-or-none history based on specified 'history' flag |
| 290 | func (db *DatabaseCollectionWithUser) Get1xRevBody(ctx context.Context, docid, revOrCV string, history bool, attachmentsSince []string) (Body, error) { |