deno.land / x / pg_mem@2.8.1 / schema / pg-catalog / pg-attribute-list.ts

pg-attribute-list.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { _ITable, _ISelection, IValue, _IIndex, _IDb, IndexKey, setId, _ISchema } from '../../interfaces-private.ts';import { nil, Schema } from '../../interfaces.ts';import { Types } from '../../datatypes/index.ts';import { ReadOnlyTable } from '../readonly-table.ts';
export class PgAttributeTable extends ReadOnlyTable implements _ITable {
_schema: Schema = { name: 'pg_attribute', fields: [ { name: 'attrelid', type: Types.integer } // oid , { name: 'attname', type: Types.text() } , { name: 'atttypid', type: Types.integer } // oid , { name: 'attstattarget', type: Types.integer } , { name: 'attlen', type: Types.integer } , { name: 'attnum', type: Types.integer } , { name: 'attndims', type: Types.integer } , { name: 'attcacheoff', type: Types.integer } , { name: 'atttypmod', type: Types.integer } , { name: 'attbyval', type: Types.bool } , { name: 'attstorage', type: Types.text(1) } // char(1) , { name: 'attalign', type: Types.text(1) } // char(1) , { name: 'attnotnull', type: Types.bool } , { name: 'atthasdef', type: Types.bool } , { name: 'atthasmissing', type: Types.bool } , { name: 'attidntity', type: Types.text(1) } // char(1) , { name: 'attisdropped', type: Types.bool } , { name: 'attislocal', type: Types.bool } , { name: 'attinhcount', type: Types.integer } , { name: 'attcollation', type: Types.integer } // oid , { name: 'attacl', type: Types.jsonb } // aclitem[] , { name: 'attoptions', type: Types.text().asArray() } , { name: 'attfdwoptions', type: Types.text().asArray() } , { name: 'attmissingval', type: Types.jsonb }// anyarray ] };

entropy(): number { return 0; }
*enumerate() { }
hasItem(value: any): boolean { return false; }
getIndex(forValue: IValue<any>): _IIndex<any> | nil { return null; }
}
pg_mem

Version Info

Tagged at
a year ago