MCPcopy
hub / github.com/ent/ent / postgres

Method postgres

dialect/sql/builder.go:3325–3327  ·  view source on GitHub ↗

postgres reports if the builder dialect is PostgreSQL.

()

Source from the content-addressed store, hash-verified

3323
3324// postgres reports if the builder dialect is PostgreSQL.
3325func (b Builder) postgres() bool {
3326 return b.Dialect() == dialect.Postgres
3327}
3328
3329// sqlite reports if the builder dialect is SQLite.
3330func (b Builder) sqlite() bool {

Callers 10

QuoteMethod · 0.95
IdentMethod · 0.95
ArgMethod · 0.95
isIdentMethod · 0.95
unquoteMethod · 0.95
isQualifiedMethod · 0.95
OrderByMethod · 0.80
LimitMethod · 0.80
FindSelectionMethod · 0.80
joinReturningFunction · 0.80

Calls 1

DialectMethod · 0.95

Tested by

no test coverage detected