attach_get: Get an attachment.

Description Usage Arguments Value Examples

Description

Get an attachment.

Usage

1
attach_get(cushion, dbname, docid, attname = NULL, as = "list", ...)

Arguments

cushion

A Cushion object. Required.

dbname

(charcter) Database name. Required.

docid

(charcter) Document ID. Required.

attname

(charcter) Attachment name. Optional.

as

(character) One of list (default) or json

...

Curl args passed on to one of the HTTP verbs (e.g,. GET, POST, PUT, etc.)

Value

JSON as a character string or a list (determined by the as parameter)

Examples

1
2
3
4
5
6
## Not run: 
(x <- Cushion$new())

attach_get(x, dbname="sofadb", docid="guysbeer")

## End(Not run)


Search within the sofa package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.