edbDrop.RODBC_MySQL: Drop a table in a MySQL database (referenced by 'edb').

Description Usage Arguments Value Author(s) See Also Examples

Description

Drop a table in a MySQL database (referenced by 'edb').

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'RODBC_MySQL'
edbDrop(edb, tableName, logOp = FALSE, 


    logRandId = rnorm(1), logMsg = as.character(NA), 


    logTableName = "edbLog", logCreateTableIfNotExist = TRUE, 


    testFiles = TRUE, verbose = FALSE, ...)

Arguments

edb

An object of class 'edb', such as returned by edb.

tableName

Single character string. Name of the table to read in 'edb'.

logOp

Single logical. If TRUE, then a log of the operation is written

into the database, using the function edbLog.

See the arguments below and edbLog for more details.

logRandId

Single numerical. See edbLog.

logMsg

Single character string. See edbLog.

logTableName

Single character string. See edbLog.

logCreateTableIfNotExist

Single logical. See edbLog.

testFiles

Single logical. Should the function test for the presence

(file.exist()) of the needed files in the folder before trying

to fetch information from the database?

verbose

Single logical. If TRUE, information on what is done are output

on screen.

...

Additional parameters to be passed to dbGetQuery.

Value

The function returns the requested table.

Author(s)

Julien MOEYS <Julien.Moeys@mark.slu.se>

See Also

edb, edbWrite.RODBC_MySQL,

edbNames.RODBC_MySQL,

edbColnames.RODBC_MySQL.

Examples

1
# See ?edbWrite.RODBC_MySQL for an example


Search within the easyrodbcmysql package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.