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
message-store: postgres: support custom filtering of messages retrieved via get/getCategory/getStream.
get/getCategory/getStream now accept a SQL fragment via the condition option. The SQL fragment is appended to the WHERE clause used to retriving messages via get_stream_messages and get_category_messages.
WARNING: great care must be taken as the condition option could be used as a SQL Injection attack vector.
NOTE: Message DB requires the message_store.sql_condition setting be configured to on. Using this feature without activating the configuration option will result in an error.
Thanks go out to sid-360 for contributing custom filtering!