db_size | R Documentation |
For SQLite databases, the file size is returned, for PostgreSQL databases, the 'pg_database' table is queried, and for MySQL database 'information_schema.tables' is queried.
db_size(con, unit = "mb", as_fs_bytes = FALSE)
con |
Database connection. |
unit |
Measurement unit. Default is |
as_fs_bytes |
Should the return be of the |
Numeric or fs_bytes
vector with a length of 1
.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.