entc/gen: fix doc typos (#3979)

Signed-off-by: sunxunle <sunxunle@gmail.com>
This commit is contained in:
sunxunle
2024-03-18 14:33:08 +08:00
committed by GitHub
parent 09dc9675a6
commit c25a28565e
3 changed files with 4 additions and 4 deletions

View File

@@ -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>