mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc/gen: fix doc typos (#3979)
Signed-off-by: sunxunle <sunxunle@gmail.com>
This commit is contained in:
@@ -3835,7 +3835,7 @@ func (b *Builder) unquote(s string) string {
|
||||
return s
|
||||
}
|
||||
|
||||
// isIdent reports if the given string is a qualified identifier.
|
||||
// isQualified reports if the given string is a qualified identifier.
|
||||
func (b *Builder) isQualified(s string) bool {
|
||||
ident, pg := b.isIdent(s), b.postgres()
|
||||
return !ident && len(s) > 2 && strings.ContainsRune(s[1:len(s)-1], '.') || // <qualifier>.<column>
|
||||
|
||||
Reference in New Issue
Block a user