completes functionality of SQL object