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
I have a ts vector column and I'm trying to populate it via a raw sql tag but if I do it directly in an insertInto statement then it compiles correctly:
I have a ts vector column and I'm trying to populate it via a raw
sql
tag but if I do it directly in aninsertInto
statement then it compiles correctly:but if I extract the values into a variable:
then it complains that the expected type for
searchVector
isstring
.I've looked at the code and it seems that for
Insertable
this is the accepted input:while for
values
the input type is:which apparently accepts raw
sql
.I would have expected the two types to be equivalent. Is there a practical reason for not accepting raw
sql
inInsertable
? Or am I missing something?Thanks ❤️
The text was updated successfully, but these errors were encountered: