Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Krishnateja's avatar

Getting all the tables on which CRUD operations were performed in a single transaction in a middleware

Let's say CRUD operations are performed on three tables in a single controller method.

Is it possible for me to get all the table's names on which CRUD operations are performed in the middleware?

As of now, when I submit a form I can only access those inputs from the request in the middleware, but when I insert three records into three different tables in a single controller action am not able to access the table names in the middleware.

0 likes
0 replies

Please or to participate in this conversation.