How do I insert record on page load?

I am looking to auto seed records in a table based on the current_user. Is it possible to insert records on page load?


Hi @teamrappid!

You can set the insert query to run on page load in the Advanced tab of query panel:

If your insert query is already set up using data from the {{current_user}} global, that should be all that you need!


Well that was an easy answer/setting that I missed. This is great - Thank you so much!

1 Like