mod lib\db\select