@nillion/secretvaults
    Preparing search index...

    Variable NucCmdConst

    NucCmd: {
        nil: {
            db: {
                builders: NucNamespace;
                collections: NucNamespace;
                data: NucNamespace;
                queries: NucNamespace;
                root: "/nil/db";
                system: NucNamespace;
                users: NucNamespace;
            };
        };
    } = ...

    Command namespace for NilDB operations.

    Provides pre-configured command objects for interacting with different NilDB subsystems including system, builders, data, collections, queries, and users.

    Type Declaration

    • Readonlynil: {
          db: {
              builders: NucNamespace;
              collections: NucNamespace;
              data: NucNamespace;
              queries: NucNamespace;
              root: "/nil/db";
              system: NucNamespace;
              users: NucNamespace;
          };
      }
    import { NucCmd } from "@nillion/secretvaults";

    // Use for creating a collection
    const command = NucCmd.nil.db.collections.create;