Hi everyone,
I am wirting a server-side script that I want to execute on POST events for all tables.
The first question is:
Is it correct, if I do not want to copy the script for all tables (and if the database is 'db') to use the script named: 'db.table.{tablename}.get.pre_process' ?
And the second question:
I would need to redirect the requests in the script to the table mentioned in the URL of the request. It seems though, that this information is not accessible via 'event.request' in the script. Is there a way to get the URL or the {table_name} somehow? (I am using V8 if it is relevant.)
Thanks in advance,
Auré