Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command

create — create a new pool in a database

Synopsis

super db create [-orderby key[,key...][:asc|:desc]] <name>

Options

TODO

Additional options of the db sub-command

Description

The create command creates a new data pool with the given name, which may be any valid UTF-8 string.

The -orderby option indicates the sort key that is used to sort the data in the pool, which may be in ascending or descending order.

If a sort key is not specified, then it defaults to the special value this.

TODO: if we have no sort key, then there should be no sort key

A newly created pool is initialized with a branch called main.

Pools can be used without thinking about branches. When referencing a pool without a branch, the tooling presumes the “main” branch as the default, and everything can be done on main without having to think about branching.