I have a virtual table in DBIx :: Class, the definition of which should differ depending on the deployment. If I deploy against sqlite3 I can use group_concat, but when I deploy Postgres, I need to use string_aggin the definition, which I then use in
__PACKAGE__->result_source_instance->view_definition($sql);
Is there a way to do this depending on the connection?
source
share