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

Description Usage Arguments Author(s) See Also Examples

Description

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

Generic function that call class-specific method corresponding

to the class of the edb object provided.

Usage

1
2
3
4
5
6
7
edbDrop(edb, tableName, logOp = FALSE, logRandId = rnorm(1), 


    logMsg = as.character(NA), logTableName = "edbLog", 


    logCreateTableIfNotExist = TRUE, ...)

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.

...

Additional parameters to be passed to class-specific method. See

methods("edbDelete")

Author(s)

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

See Also

edb, edbWrite,

edbNames, edbColnames,

edbRead.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# See related methods for detailed examples:


# (for example ?edbDrop.RSQLite_SQLite) 


require( "easydb" ) 


methods( "edbDrop" )

easydb documentation built on May 2, 2019, 4:47 p.m.