Description Usage Arguments Details Value Author(s) References See Also Examples
Default method of applyCrudExpressionTree
.
1 2 3 4 | ## Default S3 method:
applyCrudExpressionTree(inst, type = c("has", "create",
"read", "update", "delete"), envir = parent.frame(), fail_safe = FALSE,
...)
|
inst |
|
type |
|
envir |
|
fail_safe |
|
... |
Further arguments to be passed to subsequent functions/methods. |
TODO
expression
.
Janko Thyson janko.thyson@rappster.de
http://github.com/rappster/crudr
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.