New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Query Builder instead of Eloquent model? #3
Comments
This capability will be included in the next version. Thanks for bringing it to my attention. |
Thanks. Do you have any idea of the timeframe for this? |
I went ahead and pushed this upstream from the new version so you can use it now. It isn't sortable, but the 0.3.1 release allows for basic rendering. |
Thanks. I downloaded your update and tried the example exactly as I posted at the start of this thread and it falls over with:
My blade file has no other code, only
|
It looks like you have an older version installed, but that wouldn't really have mattered since the version I directed you to was fully broken due to a typo. I just pushed another update, so please make sure your composer.json is requesting |
I have checked and I am using your latest version, I have compared Table.php line by line between my local copy and the version here on Github. But I get the error I posted above, that first() cannot be used on an array at line 114 in Table.php. |
OK, I've been digging deeper. It looks like I was doing simple testing via a |
Thanks - that works a treat! |
Is it possible to use a Query Builder instead of Eloquent model with this? I have tried and it fails. Basically I want to join tables in a dynamic query and get the results to display. But even something as simple as
falls over.
The text was updated successfully, but these errors were encountered: