issue #20851: pass rest params into database query