|
[BUG]
云数据服务where中and操作不起作用
[复制链接]
对于有时间比较的操作和其它条件比较的操作同样请求时,不起作用!
Class中字段:id String
time Date
userId String
score Number
其它字段等等
var today=new Date(now.getFullYear(),now.getMonth(),now.getDate());
var act_urlParam = {
where:{userId:uid},//有作用
where:{and:[{userId:uid},{score:10}]}//无作用
where:{and:[{userId:uid},{time:{gte:today}} ]}//无作用
where:{score:10}//有作用
where:{time:today}//有作用
where:{time:{gte:today}} //有作用
where:{userId:uid}//有作用
limit:1
};
|
|