tencentyun / wafer-php-server-sdk

Wafer - 企业级微信小程序全栈方案
https://github.com/tencentyun/wafer
Other
251 stars 62 forks source link

对于Mysql的操作 #11

Closed Helo-Man closed 6 years ago

Helo-Man commented 6 years ago

请问一下,如果我想条件查询数据如查找30岁以下且为男性的人的信息改如果去写这个条件查询语句。 我尝试了DB::select("table",["*"],['age<"30"','sex="male"'],"and")但是不管用。