Handbook
Glossary
ensure-tables ( classes -- )
High-level tuple/database integration
ยป
High-level tuple/database words
Prev:
ensure-table ( class -- )
Next:
recreate-table ( class -- )
Vocabulary
db
.
tuples
Inputs
classes
a sequence of classes
Outputs
None
Word description
Creates an SQL table from a mapping defined by
define-persistent
. If a table already exists, the error is silently ignored.
See also
create-table
,
ensure-table
,
recreate-table
Definition
USING:
sequences
;
IN:
db.tuples
:
ensure-tables
( classes -- )
[
ensure-table
]
each
;