找不到 RavenDB 动态查询
我刚刚开始尝试 RavenDB,似乎执行查询的新/简单方法是使用动态而不是固定的。我下载了 build 191,但查询需要一个参数,即索引名称。如何启用动态查询?我缺少命名空间吗?我需要 191 以上的版本吗?
I just started trying out RavenDB and it seems that the new/easy way to do queries is to use dynamic instead of canned. I downloaded build 191 but Query needs takes a parameter that is the index name. How do I enable dynamic queries? Am I missing a namespace? Do I need a version newer than 191?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正确的。
Build 191确实是最新的不稳定版本,我只是在给出答案之前下载了它来检查我的答案 - 我不知道你正在看什么二进制文件,因为我确实已经得到了
Which is how you use Dynamic querys( IE,未指定索引名称)
我已确保 EmbeddedClient、.NET 3.5 二进制文件和标准轻量级客户端都具有此功能。
因此,我唯一的答案是您一定正在查看旧版本的二进制文件?
Right.
Build 191 is indeed the latest un-stable build, I just downloaded it to sanity check my answer before giving it - I don't know what binaries you're looking at though because I have indeed got
Which is how you use dynamic queries (IE, not specifying an index name)
I've made sure that both the EmbeddedClient, the .NET 3.5 binaries and the standard lightweight client have this functionality.
My only answer is therefore that you must be looking at old versions of the binaries?