Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Callback method for modifying the db query not working #102

Open
aravindpanicker opened this issue May 20, 2020 · 0 comments
Open

Callback method for modifying the db query not working #102

aravindpanicker opened this issue May 20, 2020 · 0 comments

Comments

@aravindpanicker
Copy link

aravindpanicker commented May 20, 2020

Call back set with the query() has no effect on the results returned from the engine.

Course::search($request->term)->query(function($query) { return $query->select(['id', 'name as text']); })->get()

#103 Could Fix this issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant