【发布时间】:2015-04-21 09:50:33
【问题描述】:
我只是想知道是否可以使用水线选择特定的字段,下面给出了orientdb查询。
e.g.
select phone from user
我想使用此查询从用户顶点中选择电话
userModel.find(phone)
.then(function(phonelist){
if(!phonelist)
console.log('msg: RECORD_NOT_FOUND');
else
console.log(phonelist);
.catch(function(err){ console.log('err: 'err'); });
【问题讨论】: