私は Sails.js と Sails-mongo アダプターを使用しています。モデルがあるとします:
module.exports = {
attributes: {
shema: true
, attributes: {
description: {
type: 'TEXT'
, max: 200
}
, tags: {
type: 'ARRAY'
}
}
}
};
タグ配列で検索を実行するにはどうすればよいですか?