# Class: Db

# Hierarchy

  • Db

# Properties

# id

id: number = Math.random()

Defined in pg-structure/db.ts:75


# name

name: string

Defined in pg-structure/db.ts:78


# schemas

schemas: IndexableArray‹Schema, "name", "oid", true› = IndexableArray.throwingFrom([], "name", "oid")

Defined in pg-structure/db.ts:104

# Accessors

# entities

entities:

Defined in pg-structure/db.ts:143


# indexes

indexes:

Defined in pg-structure/db.ts:163


# relationNameCollisions

relationNameCollisions:

Defined in pg-structure/db.ts:201


# tables

tables:

Defined in pg-structure/db.ts:133


# types

types:

Defined in pg-structure/db.ts:153

# Methods

# get

get(path: string): Schema | Entity | Column

Defined in pg-structure/db.ts:186

Parameters:

Name Type Description
path string is the path of the requested item in dot (.) notation such as public.contact

Returns: Schema | Entity | Column

requested database object.


# serialize

serialize(): string

Defined in pg-structure/db.ts:67

Returns: string