//处理数据的各种方法
$user->getField();
$user->where('id=1')->select();
$where['id'] = 1;
$where['username'] = array('like','%ww%');
$user->where($where)->select();
$user->count();
$user->max();
$user->query('select * from thumb_');
$user->execute('insert update delete');
$user->getBy**();$user->getByID();$user->getByUsername();
$user = new UserModel();
$user->select();
$user->find();$user->getField();
$user->where('id=1')->select();
$where['id'] = 1;
$where['username'] = array('like','%ww%');
$user->where($where)->select();
$user->count();
$user->max();
$user->query('select * from thumb_');
$user->execute('insert update delete');
$user->getBy**();$user->getByID();$user->getByUsername();