db.ts 525 B

123456789101112131415
  1. /**
  2. * Copyright (c) 2017 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * @author David Sehnal <david.sehnal@gmail.com>
  5. * @author Alexander Rose <alexander.rose@weirdbyte.de>
  6. */
  7. import Database from './db/database';
  8. import Table from './db/table';
  9. import Column from './db/column';
  10. import * as ColumnHelpers from './db/column-helpers';
  11. type DatabaseCollection<T extends Database.Schema> = { [name: string]: Database<T> }
  12. export { DatabaseCollection, Database, Table, Column, ColumnHelpers };