Add hooks to sql objects
Add query log for find()