I have data that contains emojis within a database column, i.e.
message_text
-------
π
π
Hi π
I want to query only the rows that have data containing emojis. Is there a simple way to do this in postgres?
select data from table where data_col contains emoji
Currently I use a simple query
select message_text from cb_messages_v1 cmv
where message_text IN ('ππ»','π','π','π', 'π§')
but I want it to be more dynamic, where if future emotions are added it will capture the data.