Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 324 Bytes

create_database.md

File metadata and controls

13 lines (8 loc) · 324 Bytes

Database creation

An empty database can be created simply by using (d/db-empty). We can also pass the schema.

(d/db-empty schema) or

(d/init-db datoms schema) or

Javascript API

  • d.init_db(datoms, schema) create initial DB with datoms and schema
  • d.empty_db(schema) create empty DB with schema only