Description Usage Arguments Details Value Author(s) References See Also Examples
Creates a tree of access expression.
See createCrudExpression
.
1 | createCrudExpressionTree(inst, ...)
|
inst |
Object for method dispatch. |
... |
Further arguments to be passed to subsequent functions/methods. |
Known methods:
createCrudExpressionTree.default
See respective methods.
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 15 16 17 18 19 20 21 | # Example object ----------------------------------------------------------
inst = list()
# No assignment value -----------------------------------------------------
tree <- createCrudExpressionTree(inst, c("a", "b", "c"))
sapply(tree, names)
createCrudExpressionTree(inst, c("a", "b", "c"), name_obj = "x")
createCrudExpressionTree(inst, c("a", "b", "c"), as_name_obj = FALSE)
createCrudExpressionTree(inst, c("a", "b", "c"), fail_safe = TRUE)
# Assignment value --------------------------------------------------------
createCrudExpressionTree(inst, c("a", "b", "c"), value = 1)
createCrudExpressionTree(inst, c("a", "b", "c"), value = 1,
name_value = "y", as_name_value = TRUE)
createCrudExpressionTree(inst, c("a", "b", "c"), value = 1, fail_safe = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.