Home
last modified time | relevance | path

Searched refs:dbschema (Results 1 – 25 of 233) sorted by relevance

12345678910

/dports/net/storj/storj-1.45.3/storagenode/storagenodedb/
H A Dschema.go13 &dbschema.Table{
16 &dbschema.Column{
21 &dbschema.Column{
26 &dbschema.Column{
31 &dbschema.Column{
38 &dbschema.Table{
42 &dbschema.Column{
47 &dbschema.Column{
52 &dbschema.Column{
72 &dbschema.Table{
[all …]
H A Dschemagen.go73 allSchemas := make(map[string]*dbschema.Schema)
112 func Schema() map[string]*dbschema.Schema {
113 return map[string]*dbschema.Schema{
148 func WriteSchemaGoStruct(w io.Writer, schema *dbschema.Schema) (err error) {
185 func WriteTableGoStruct(w io.Writer, table *dbschema.Table) (err error) {
220 func WriteColumnGoStruct(w io.Writer, column *dbschema.Column) (err error) {
/dports/net/storj/storj-1.45.3/vendor/storj.io/private/dbutil/sqliteutil/
H A Ddb.go18 func LoadSchemaFromSQL(ctx context.Context, script string) (_ *dbschema.Schema, err error) {
34 func LoadSnapshotFromSQL(ctx context.Context, script string) (_ *dbschema.Snapshot, err error) {
51 snapshot.Sections = dbschema.NewSections(script)
57 func QuerySnapshot(ctx context.Context, db dbschema.Queryer) (*dbschema.Snapshot, error) {
68 return &dbschema.Snapshot{
76 func QueryData(ctx context.Context, db dbschema.Queryer, schema *dbschema.Schema) (*dbschema.Data, …
77 return dbschema.QueryData(ctx, db, schema, func(columnName string) string {
H A Dquery_test.go30 assert.Equal(t, &dbschema.Schema{}, emptySchema)
57 expected := &dbschema.Schema{
58 Tables: []*dbschema.Table{
61 Columns: []*dbschema.Column{
73 Columns: []*dbschema.Column{
75 Reference: &dbschema.Reference{
91 Indexes: []*dbschema.Index{
H A Dquery.go25 func QuerySchema(ctx context.Context, db dbschema.Queryer) (*dbschema.Schema, error) {
26 schema := &dbschema.Schema{}
74 func discoverTables(ctx context.Context, db dbschema.Queryer, schema *dbschema.Schema, tableDefinit…
83 func discoverTable(ctx context.Context, db dbschema.Queryer, schema *dbschema.Schema, definition *d…
101 column := &dbschema.Column{
151 column.Reference = &dbschema.Reference{
167 func discoverIndexes(ctx context.Context, db dbschema.Queryer, schema *dbschema.Schema, indexDefini…
170 index := &dbschema.Index{
/dports/net/storj/storj-1.45.3/satellite/satellitedb/
H A Dmigrate_test.go38 func loadSnapshots(ctx context.Context, connstr, dbxscript string) (*dbschema.Snapshots, *dbschema.…
39 snapshots := &dbschema.Snapshots{}
57 snapshots.List = make([]*dbschema.Snapshot, len(matches))
97 var dbschema *dbschema.Schema
100 dbschema, err = loadSchemaFromSQL(ctx, connstr, dbxscript)
109 return snapshots, dbschema, nil
132 sections := dbschema.NewSections(script)
134 _, err = db.ExecContext(ctx, sections.LookupSection(dbschema.Main))
139 _, err = db.ExecContext(ctx, sections.LookupSection(dbschema.MainData))
144 _, err = db.ExecContext(ctx, sections.LookupSection(dbschema.NewData))
[all …]
/dports/net/storj/storj-1.45.3/vendor/storj.io/private/dbutil/pgutil/
H A Dquery_test.go29 assert.Equal(t, &dbschema.Schema{}, emptySchema)
84 expected := &dbschema.Schema{
85 Tables: []*dbschema.Table{
88 Columns: []*dbschema.Column{
100 Columns: []*dbschema.Column{
103 Reference: &dbschema.Reference{
121 Indexes: []*dbschema.Index{
133 …&dbschema.Index{Name: "users_a_b_c", Table: "users", Columns: []string{"a", "b", "c"}, Unique: fal…
134 …&dbschema.Index{Name: "names_a_x", Table: "names", Columns: []string{"a", "x"}, Unique: false, Par…
138 …&dbschema.Index{Name: "users_a_b_c", Table: "users", Columns: []string{"a", "b", "c"}, Unique: fal…
[all …]
H A Ddata.go14 func QueryData(ctx context.Context, db dbschema.Queryer, schema *dbschema.Schema) (*dbschema.Data, …
15 return dbschema.QueryData(ctx, db, schema, func(columnName string) string {
H A Dquery.go19 func QuerySchema(ctx context.Context, db dbschema.Queryer) (*dbschema.Schema, error) {
20 schema := &dbschema.Schema{}
49 table.AddColumn(&dbschema.Column{
133 column.Reference = &dbschema.Reference{
214 func parseIndexDefinition(indexdef string) (*dbschema.Index, error) {
271 return &dbschema.Index{
296 func isAutogeneratedCockroachIndex(index *dbschema.Index) bool {
/dports/databases/py-sqlalchemy-migrate/sqlalchemy-migrate-0.13.0/migrate/tests/versioning/
H A Dtest_schema.py129 dbschema = ControlledSchema.create(self.engine, self.repos)
132 cs = dbschema.changeset()
139 cs = dbschema.changeset(5)
143 dbschema.drop()
147 dbschema = ControlledSchema.create(self.engine, self.repos)
154 dbschema.upgrade(10)
156 self.assertRaises(ValueError, dbschema.upgrade, 'a')
162 dbschema.drop()
186 dbschema = ControlledSchema.create(self.engine, self.repos)
190 dbschema.update_db_from_model(meta)
[all …]
/dports/net/storj/storj-1.45.3/multinode/multinodedb/
H A Dmigrate_test.go46 snapshots := new(dbschema.Snapshots)
47 snapshots.List = make([]*dbschema.Snapshot, len(matches))
69 var finalSchema *dbschema.Schema
81 if newData := expected.LookupSection(dbschema.NewData); newData != "" {
127 snapshots := new(dbschema.Snapshots)
128 snapshots.List = make([]*dbschema.Snapshot, len(matches))
149 var finalSchema *dbschema.Schema
203 sections := dbschema.NewSections(script)
205 _, err = db.ExecContext(ctx, sections.LookupSection(dbschema.Main))
210 _, err = db.ExecContext(ctx, sections.LookupSection(dbschema.MainData))
[all …]
/dports/databases/grass7/grass-7.8.6/lib/db/dbmi_driver/
H A Ddriver_state.c57 void db__mark_database_open(const char *dbname, const char *dbschema) in db__mark_database_open() argument
60 state.dbschema = db_store(dbschema); in db__mark_database_open()
70 db_free(state.dbschema); in db__mark_database_closed()
/dports/mail/archiveopteryx/archiveopteryx-3.2.0/installer/
H A Dinstaller.cpp48 EString * dbschema = 0; variable
562 if ( !dbschema ) { in configure()
569 dbschema->cstr() ); in configure()
572 dbschema = new EString( t ); in configure()
576 if ( *dbschema != "public" ) in configure()
1350 d->q->bind( 1, *dbschema ); in createNamespace()
1425 d->q->bind( 1, *dbschema ); in checkOwnership()
1523 d->q->bind( 2, *dbschema ); in grantUsage()
1589 d->q->bind( 2, *dbschema ); in splitPrivileges()
1736 d->q->bind( 2, *dbschema ); in createSchema()
[all …]
/dports/mail/archiveopteryx-devel/aox-96ab17e/installer/
H A Dinstaller.cpp48 EString * dbschema = 0; variable
562 if ( !dbschema ) { in configure()
569 dbschema->cstr() ); in configure()
572 dbschema = new EString( t ); in configure()
576 if ( *dbschema != "public" ) in configure()
1346 d->q->bind( 1, *dbschema ); in createNamespace()
1421 d->q->bind( 1, *dbschema ); in checkOwnership()
1519 d->q->bind( 2, *dbschema ); in grantUsage()
1585 d->q->bind( 2, *dbschema ); in splitPrivileges()
1732 d->q->bind( 2, *dbschema ); in createSchema()
[all …]
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/net-mgmt/zabbix5-server/zabbix-5.0.19/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/devel/rth/rth/jpgraph-1.8/src/utils/jpdocgen/
H A Ddbschema_ddda.php83 $dbschema = new ImgDBSchema('jpgraph_doc','FormatTblName','FormatFldName');
84 $dbschema->SetMargin($leftm,$topm);
85 $dbschema->SetTableWidth($tblwidth);
86 $dbschema->Stroke($this->img,$this->iscale,$tblposadj);
/dports/devel/rth/rth/jpgraph-1.8/jpgraph-1.18/src/Examples/
H A Ddbschemaex1.php83 $dbschema = new ImgDBSchema('jpgraph_doc','FormatTblName','FormatFldName');
84 $dbschema->SetMargin($leftm,$topm);
85 $dbschema->SetTableWidth($tblwidth);
86 $dbschema->Stroke($this->img,$this->iscale,$tblposadj);
/dports/databases/p5-DBD-Sybase/DBD-Sybase-1.16/eg/
H A DREADME5 In particular, dbschema.pl is a quick port I did from the
6 dbschema.pl version using Sybase::DBlib, and has not been updated
7 with recent enhancements and bug fixes to dbschema.pl (now maintained
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/libs/zbxdbhigh/
H A DMakefile.am4 dbschema.c: $(top_srcdir)/create/src/schema.tmpl
5 $(top_srcdir)/create/bin/gen_schema.pl c > dbschema.c
12 dbschema.c \

12345678910