MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / NewDTSVector

Function NewDTSVector

pkg/sql/sem/tree/datum.go:4493–4495  ·  view source on GitHub ↗

NewDTSVector is a helper routine to create a DTSVector initialized from its argument.

(v tsearch.TSVector)

Source from the content-addressed store, hash-verified

4491// NewDTSVector is a helper routine to create a DTSVector initialized from its
4492// argument.
4493func NewDTSVector(v tsearch.TSVector) *DTSVector {
4494 return &DTSVector{TSVector: v}
4495}
4496
4497// ParseDTSVector takes a string of TSVector and returns a DTSVector value.
4498func ParseDTSVector(s string) (Datum, error) {

Callers 1

ParseDTSVectorFunction · 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…