I often have common parts of SQL statements, an example would be if I had an field called "is_visible", by default I only want to query the database for the results where is_visible = 1.
How can I define this in my model so I don't have to repeat it for every query I make?
Thanks