Support objects as parameters for SELECT queries