Can I use plpgsql?

Hi everyone. Can I use plpgsql in metabase? I want to use some sentences (if-else, for and while), but I’m not sure if I can.


Helena Maia

Hi @Helena
You should be able to use almost any query you can make in other editors in the Metabase Native SQL editor.
But Metabase is a read-only reporting tool, so you have to create the functions elsewhere.