How to Filter by virtual attribute.

Hi, in my model I have some attributes that are virtual, that is, they do not actually exist in the database table. I would like to know if it is possible to use them in the Table Builder filters? If so, how do I proceed with this so as not to generate an error of an inexistent column in the database. Thank you.
Solution
The filters query against the database, so you're not going to be able to filter against anything that is not part of the model at the database level.
Was this page helpful?