allow array or hash syntax for partial index conditions