numnode ( tsquery ) → integerReturns the number of lexemes plus operators in the
tsquery.numnode('(fat & rat) | cat'::tsquery) → 5Functions / Text Search Functions And Operators
Returns the number of lexemes plus operators in the tsquery.
Reading PG 18current·documented in 20 of 27 versions, 8.3 to 20
numnode ( tsquery ) → integerReturns the number of lexemes plus operators in the
tsquery.numnode('(fat & rat) | cat'::tsquery) → 5Definition snapshot: b7bd9cda · English manual source