(ctx *dbContext)
| 1353 | } |
| 1354 | |
| 1355 | func cloneDBContextForReload(ctx *dbContext) *dbContext { |
| 1356 | if ctx == nil { |
| 1357 | return nil |
| 1358 | } |
| 1359 | return &dbContext{ |
| 1360 | name: ctx.name, |
| 1361 | db: ctx.db, |
| 1362 | dbtype: ctx.dbtype, |
| 1363 | nano: ctx.nano, |
| 1364 | dbinfo: ctx.dbinfo, |
| 1365 | schema: ctx.schema, |
| 1366 | qcodeCompiler: ctx.qcodeCompiler, |
| 1367 | psqlCompiler: ctx.psqlCompiler, |
| 1368 | } |
| 1369 | } |
| 1370 | |
| 1371 | // SetOptions replaces the options slice so the next Reload picks them up. |
| 1372 | func (g *GraphJin) SetOptions(opts ...Option) { |
no outgoing calls
no test coverage detected