Skip to content

Commit 90e2116

Browse files
authored
Merge pull request #10081 from ellemouton/graphSQLSlices
graph/db: use `/*SLICE:<field_name>*/` to optimise various graph queries
2 parents 05b87f5 + ddc0e95 commit 90e2116

File tree

15 files changed

+1237
-157
lines changed

15 files changed

+1237
-157
lines changed

config_test_native_sql.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ func (d *DefaultDatabaseBuilder) getGraphStore(baseDB *sqldb.BaseDB,
3232

3333
return graphdb.NewSQLStore(
3434
&graphdb.SQLStoreConfig{
35-
ChainHash: *d.cfg.ActiveNetParams.GenesisHash,
35+
ChainHash: *d.cfg.ActiveNetParams.GenesisHash,
36+
PaginationCfg: sqldb.DefaultPagedQueryConfig(),
3637
},
3738
graphExecutor, opts...,
3839
)

0 commit comments

Comments
 (0)