You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
488 B
18 lines
488 B
import AppClass from '../../../../lib/src/lifecycle/AppClass.ts'
|
|
import {Connection} from "../../db/Connection.ts";
|
|
import {Database} from "./Database.ts";
|
|
|
|
export class Table extends AppClass {
|
|
protected parent_database?: Database
|
|
|
|
constructor(
|
|
public readonly connection: Connection,
|
|
public readonly database_name: string,
|
|
public readonly name: string,
|
|
) { super() }
|
|
|
|
public set_database(db: Database) {
|
|
this.parent_database = db
|
|
}
|
|
}
|