With creates a WithBuilder for the configured dialect. Dialect(dialect.Postgres). With("users_view"). As(Select().From(Table("users")))
(name string)
| 3495 | // With("users_view"). |
| 3496 | // As(Select().From(Table("users"))) |
| 3497 | func (d *DialectBuilder) With(name string) *WithBuilder { |
| 3498 | b := With(name) |
| 3499 | b.SetDialect(d.dialect) |
| 3500 | return b |
| 3501 | } |
| 3502 | |
| 3503 | func isAlias(s string) bool { |
| 3504 | return strings.Contains(s, " AS ") || strings.Contains(s, " as ") |
nothing calls this directly
no test coverage detected