API - Basic API calls

I do not see sql_clause() function anywhere. It is VERY important function when you pass query parameters but not sure if all of them are present. Where is explanation for that?