1
閱讀文檔https://docs.appcelerator.com/arrowdb/latest/#!/guide/customfields之後,我沒有找到任何方法從箭頭DB projet(當您在雲中部署它!)獲取座標數據。從箭頭中的座標查找數據DB
我試試這個:
req.model.query({
coordinates: {
"$nearSphere": [50.8331170,4.3846790], // test values
"$maxDistance": 0.1
}
}, next);
我的模型是這樣的:
var Arrow = require('arrow');
var Model = Arrow.createModel('test', {
fields: {
coordinates: {
type: Array
},
name: {
type: String
},
description: {
type: String
}
},
connector: 'appc.arrowdb',
autogen: false
});
module.exports = Model;
要清楚我想要找到解決「位置」的一些數據
有人有一個想法?
我已經檢查,但我說的是箭生成器。不是箭頭DB /舊的ACS。正如你在我的帖子中看到的,我已經嘗試過...... –