在CouchDB中进行通配符搜索 [英] Wild card search in couchdb
本文介绍了在CouchDB中进行通配符搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Couchdb的新手.我想知道是否可以在Couchdb中进行通配符搜索.如果可以,请给我提供示例示例.
Iam new to couchdb.I want to know whether wild card search is possible in couchdb or not.if it is possible give me sample example for that.
推荐答案
是的,{}(空对象)是沙发数据库中的通配符.例如:
Yes, the {} (empty object) is a wild card in couch db. For example:
http://127.0.0.1:5984/database/_design/docName/_view/viewName?key={}
将返回所有内容.您也可以在开始键和结束键以及其他任何需要通配符的地方使用{}.它将匹配所有键.
Will return everything. You can also use {} in startkey and endkey and anywhere else you want a wildcard. It will match all keys.
这篇关于在CouchDB中进行通配符搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文