Handbook
Glossary
drop-table ( class -- )
High-level tuple/database integration
ยป
High-level tuple/database words
Prev:
recreate-table ( class -- )
Next:
insert-tuple ( tuple -- )
Vocabulary
db
.
tuples
Inputs
class
a
class
Outputs
None
Word description
Drops an existing table which deletes all of the data. The database will probably throw an error if the table does not exist.
Warning
THIS WORD WILL DELETE YOUR DATA.
Definition
USING:
db
db.tuples.private
;
IN:
db.tuples
:
drop-table
( class -- )
ensure-defined-persistent
drop-sql-statement
[
execute-statement
]
with-disposals
;