createCrudExpressionPlain.default: Create access expression

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/crud.R

Description

Default method of createCrudExpressionPlain.

Usage

1
2
3
## Default S3 method:
createCrudExpressionPlain(inst, id = character(),
  value = NULL, name = "inst", allow_null = FALSE, ...)

Arguments

inst

list. TODO

id

character. TODO

value

ANY (BasicClasses). Optional assignment value.

name

character. Name of the actual object in the expression that values are extracted from or assigned to.

allow_null

logical. Allows value = NULL. Useful for deleting values.

...

Further arguments to be passed to subsequent functions/methods.

Details

TODO

Value

expression.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/rappster/crudr

See Also

createCrudExpressionPlain, createCrudExpression

Examples

1
2
3
4
5
6
7
8
inst <- list(a = list(b = list(c = 10)))

(expr <- createCrudExpressionPlain(inst, c("a", "b")))
eval(expr)

(expr <- createCrudExpressionPlain(inst, c("a", "b"), 1))
eval(expr)
inst

rappster/crudr documentation built on May 26, 2019, 11:12 p.m.