Description Usage Arguments Value Note Examples
SciDB AFL statements are normally executed in a stateless query context. Use scidb_prefix to create compound AFL expressions useful in some circumstances.
1 | scidb_prefix(db, expression = NULL)
|
db |
a scidb database connection returned from |
expression |
a valid AFL expression to be issued prior to, and in the same context as all subsequent
query expressions issued to the database corresponding to |
A new SciDB database connection object with the prefix set.
This is mostly useful for setting namespaces, see the examples.
1 2 3 4 5 6 7 8 | ## Not run:
library(scidb)
db <- scidbconnect()
ls(db)
new_db <- scidb_prefix(db, "set_role('functionary')")
ls(new_db)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.