conditions made to be an object
construct the sql statements instead of string placeholders