TRUNCATE-DATABASE — Drop all tables, views, indexes and sequences in a database.Function
database
A database object. This will default to the value of *default-database*.
Drop all tables, views, indexes and sequences in
database
which defaults to
*default-database*.
(list-tables) => ("type_table" "type_bigint" "employee" "company" "addr" "ea_join" "big") (list-indexes) => ("employeepk" "companypk" "addrpk") (list-views) => ("lenins_group") (list-sequences) => ("foo" "bar") (truncate-database) => (list-tables) => NIL (list-indexes) => NIL (list-views) => NIL (list-sequences) => NIL