mysql_exists: Wrapper for checking the existence of a MySQL table

Description Usage Arguments Value Author(s) See Also

Description

mysql_exists is a simple wrapper around RMySQL that allows a useR to check table existence in a database on analytics-store.eqiad.wmnet.

Usage

1
mysql_exists(db, table_name)

Arguments

db

a database

table_name

the name of the table

Value

A TRUE or FALSE confirming whether the table exists

Author(s)

Oliver Keyes <okeyes@wikimedia.org>

See Also

mysql_query for reading from the same range of databases, mysql_write for writing to them, or mysql_delete for removing rows that match a set of conditions.


wikimedia-research/WMUtils documentation built on May 4, 2019, 5:23 a.m.