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'm using this package with PostgreSQL and this is my error when i call findFriendships() method
SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: smallint ~~ unknown
LINE 1: select * from "friendships" where "status" LIKE $1 and (("se...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. (SQL: select * from "friendships" where "status" LIKE 1 and (("sender_id" = 1 and "sender_type" = App\User) or ("recipient_id" = 1 and "recipient_type" = App\User)))
It seems that we can't use the LIKE operator on a smallint column type isn't it?
The text was updated successfully, but these errors were encountered:
I'm using this package with PostgreSQL and this is my error when i call
findFriendships()
methodIt seems that we can't use the
LIKE
operator on a smallint column type isn't it?The text was updated successfully, but these errors were encountered: