laravel-enso / tables

Bulma themed, VueJS powered Datatable with server-side loading and JSON template setup
https://www.laravel-enso.com/examples/table
632 stars 77 forks source link

How to access Request in the Builder from a database job #234

Closed tcytra closed 3 years ago

tcytra commented 3 years ago

This is a question about database-driven queue exports.

Prerequisites

Description

In the table Builder class, how does one go about accessing the Request (or more specifically, the Request User) in the query() or filter() methods when the export job is running via QUEUE_CONNECTION=database?

Thank you in advance for your advice.

tcytra commented 3 years ago

I've resolved this, sorry.