I am performing a simple like query such as
SELECT * FROM table WHERE column LIKE '%searchterm%';
on the same data imported to a SQLite DB and a Postgres DB.
However, the number of results varies between the two databases.
I tried googling but I couldn’t really find out if there any major implementation differences.
One of the main differences you’ll find is that Postgres
LIKEqueries are case-sensitive, while Sqlite isn’t (at least for ASCII characters). You’ll need to useILIKEto get a case-insensitive match in Postgres.