Options
All
  • Public
  • Public/Protected
  • All
Menu

Admin service.

Hierarchy

  • AdminService

Index

Constructors

constructor

Methods

Private getAllTableColumns

  • getAllTableColumns(): Promise<{ column: string; table: string }[]>

Private getAllTableRowCounts

  • getAllTableRowCounts(): Promise<{ rows: number; table: string }[]>

getBooks

  • getBooks(): Promise<NBBook[]>

getDatabaseUsage

getStats

Private getTableColumns

  • getTableColumns(tableName: string): Promise<{ column: string }[]>
  • Get all columns in a table.

    Parameters

    • tableName: string

      The name of the table.

    Returns Promise<{ column: string }[]>

    All columns in the table.

Private getTableRowCount

  • getTableRowCount(tableName: string): Promise<number>

Private getTables

  • getTables(): Promise<{ table: string }[]>

getUsers

  • getUsers(): Promise<NBUser[]>

Generated using TypeDoc