You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add the FromField instance we need a parser.
Do you have an example of implementation that could help to parser for the TSVector FromField instances ?
Specifications would be the following:
type TSVector = [Vector]
data Vector = Vector { text :: Text
, position :: Int
}
Many thanks for your help
The text was updated successfully, but these errors were encountered:
Hello,
TSVector type of Postgres is the following:
https://www.postgresql.org/docs/8.3/datatype-textsearch.html
Example of tsvector: "'cat':2 'dog:5 'animal':10"
To add the FromField instance we need a parser.
Do you have an example of implementation that could help to parser for the TSVector FromField instances ?
Specifications would be the following:
type TSVector = [Vector]
data Vector = Vector { text :: Text
, position :: Int
}
Many thanks for your help
The text was updated successfully, but these errors were encountered: