Go to the first, previous, next, last section, table of contents.


rootMakeDb

Function: rootMakeDb { [dbId] -> [dbId] }
file: job.t
package: muf
status: alpha

Create a new db. The input dbId may be a string, an integer, or nil. If it is nil, the server picks an unused name for the db. If it is a string or integer, the server accepts them as name hints and tries to assign the new db a name as close as possible to the hint.

The return value is the dbId actually selected, as a string: It may be used to index the global .db[] index to locate the actual created db object.

Note that rootMakeUser creates a new db, owned by the new user, as part of its operation: See section rootMakeUser { [ proposedDbfileName | -> [ user | }.


Go to the first, previous, next, last section, table of contents.