applyCrudExpressionTree: Apply access expression tree

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

View source: R/crud.R

Description

Applies a tree of access expressions. See applyCrudExpressionTree.

Usage

1

Arguments

inst

Object for method dispatch.

...

Further arguments to be passed to subsequent functions/methods.

Details

Known methods:

Value

See respective methods.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/rappster/crudr

See Also

createCrudExpressionTree

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
inst = list(a = list(b = 1))

tree <- createCrudExpressionTree(inst, c("a", "b", "c"),
  value = 1, fail_safe = TRUE)

applyCrudExpressionTree(tree, "has")
applyCrudExpressionTree(tree, "create")
inst
applyCrudExpressionTree(tree, "read")
applyCrudExpressionTree(tree, "update")
inst
## --> currently exactly identical to the `create` expression
applyCrudExpressionTree(tree, "delete")
inst

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