openblocks-dev / openblocks

🔥 🔥 🔥 The Open Source Retool Alternative
https://cloud.openblocks.dev
GNU Affero General Public License v3.0
5.88k stars 360 forks source link

Pass arguments to SQL queries? #347

Closed hialvaro closed 1 year ago

hialvaro commented 1 year ago

I have a table, and I want to show a column from a relation based on the current row ID. I don't really know how this should be addressed in OpenBlocks, but I think if I could pass the current row ID to a "getRelationById" function that accepts an "id" argument, it would work. Is there any way to do that?

I mean something like running the SQL query with getRelationById(currentRow.relation_id)