MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / isCaseInsensitivePrefix

Function isCaseInsensitivePrefix

pkg/sql/sem/tree/datum.go:263–268  ·  view source on GitHub ↗
(prefix, s string)

Source from the content-addressed store, hash-verified

261}
262
263func isCaseInsensitivePrefix(prefix, s string) bool {
264 if len(prefix) > len(s) {
265 return false
266 }
267 return strings.EqualFold(prefix, s[:len(prefix)])
268}
269
270// ParseDBool parses and returns the *DBool Datum value represented by the provided
271// string, or an error if parsing is unsuccessful.

Callers 1

ParseDBoolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…