table_drop
ReQL command: table_drop
Command syntax
db.table_drop(table_name) → object
Description
Drop a table. The table and all its data will be deleted.
If successful, the command returns an object with two fields:
-
tables_dropped
: always1
. -
config_changes
: a list containing one two-field object,old_val
andnew_val
:-
old_val
: the dropped table’s config value. -
new_val
: alwaysnil
.
-
If the given table does not exist