renamed sqlite condition