(ctx context.Context, schema string)
| 1640 | } |
| 1641 | |
| 1642 | func schemaTemplateParam(ctx context.Context, schema string) context.Context { |
| 1643 | if schema != "" { |
| 1644 | schema = dbutil.SafeIdentifier(schema) + "." |
| 1645 | } |
| 1646 | |
| 1647 | return sqlctemplate.WithReplacements(ctx, map[string]sqlctemplate.Replacement{ |
| 1648 | "schema": {Value: schema, Stable: true}, |
| 1649 | }, nil) |
| 1650 | } |
| 1651 | |
| 1652 | func queueFromInternal(internal *dbsqlc.RiverQueue) *rivertype.Queue { |
| 1653 | var pausedAt *time.Time |
searching dependent graphs…