[db-wg] Addition of long query options