added documentation for sql_interface