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