Description Usage Arguments See Also
Read from, write to, and check data from the MySQL databases and tables in the Wikimedia cluster. Assumes the presence of a validly formatted configuration file.
1 2 3 4 5 6 7 8 9 10 11 | mysql_connect(database)
mysql_read(query, database, con = NULL)
mysql_exists(database, table_name, con = NULL)
mysql_write(x, database, table_name, con = NULL, ...)
mysql_close(con)
mysql_disconnect(con)
|
database |
The name of the database to query. |
query |
A SQL query. |
con |
A MySQL connection returned by |
... |
Further arguments to pass to dbWriteTable. See ?dbWriteTable for more details. |
table |
The name of a table to check for the existence of or create, depending on the function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.