Name of this Analyzer.
See also Database.
Creates a new Analyzer with the given options
and the instance's name.
See also createAnalyzer.
const db = new Database();
const analyzer = db.analyzer("potatoes");
await analyzer.create({ type: "identity" });
// the identity Analyzer "potatoes" now exists
Options for creating the Analyzer.
Deletes the Analyzer from the database.
const db = new Database();
const analyzer = db.analyzer("some-analyzer");
await analyzer.drop();
// the Analyzer "some-analyzer" no longer exists
Whether the Analyzer should still be deleted even if it is currently in use.
Retrieves the Analyzer definition for the Analyzer.
const db = new Database();
const analyzer = db.analyzer("some-analyzer");
const definition = await analyzer.get();
// definition contains the Analyzer definition
Generated using TypeDoc
Represents an Analyzer in a Database.