In monetdb
I have set up a schema main
and my tables are created into this schema.
For example, the department
table is main.department
.
With dplyr
I try to query the table:
mdb <- src_monetdb(dbname="model", user="monetdb", password="monetdb")
tbl(mdb, "department")
But I get
Error in .local(conn, statement, ...) :
Unable to execute statement 'PREPARE SELECT * FROM "department"'.
Server says 'SELECT: no such table 'department'' [#42S02].
I tried to use "main.department"
and other similar combinations with no luck.
What is the appropriate syntax?
dbListTables(mdb$con)
(ordb_list_tables(mdb$con)
? – dickoadbListTables()
is implemented in monetdb to lists all the tables except system tables, and this is what I see. – Enzoselect current_schema;
? – dickoa