Add prepared statements functions to add record_query_fields