UNPKG
@riao/dbal
Version:
latest (3.8.0)
3.8.0
3.7.1
3.7.0
3.6.0
3.5.0
3.4.0
3.3.2
3.3.1
3.3.0
3.2.0
3.1.0
3.0.1
3.0.0
2.0.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
riao database
github.com/riao-project/riao-dbal
riao-project/riao-dbal
@riao/dbal
/
schema
/
schema-table.d.ts
10 lines
(9 loc)
•
264 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
ColumnOptions
}
from
'../column'
;
export
interface
SchemaTable
{
name
:
string
;
type
:
'table'
|
'view'
; }
export
interface
SchemaTableWithColumns
extends
SchemaTable
{
columns
:
Record
<
string
,
ColumnOptions
>;
primaryKey
?:
string
; }