Displaying data from query at Resource Page
I'm trying to display this data based on the $currentUser = $tradingprofile->pic_id
i've been looking around should i use getTableQuery() ? i tried using it inside the Resource page but nothing works as well as List Page too.
3 Replies
as example image above;
The current user id is 5 , therefore , current list should be showing only PIC NAME 5
How have you tried?
sorry forgotten to include these:
i have tried the following inside Resource and List page
getTableQuery() and getEloquentQuery()
the table query was my random attempt while Eloquent was what i read from document
or
well the getTableQuery() throws arrow meanwhile getEloquentQuery() doesnt return anything
my bad , i got it working after tinkering around with the code and yes we can use getEloquentQeury()