A PostgreSQL role.

Hierarchy (view full)

Constructors

Accessors

Methods

Constructors

  • Creates a new Named.

    Parameters

    • name: string

      The object name

    Returns Role

Accessors

  • get name(): string
  • Gets the name of this database object.

    Returns string

    The name of this database object

Methods

  • Assigns this role to another role (or login).

    Parameters

    • member: Role

      The grantee

    Returns Membership

    The new Membership object

  • Returns string