ravenhq

RavenDB Map/Reduce/Transform on nested, variable-length arrays

二次信任 提交于 2021-01-27 07:34:13
问题 I'm new to RavenDB, and am loving it so far. I have one remaining index to create for my project. The Problem I have thousands of responses to surveys (i.e. " Submissions "), and each submission has an array of answers to specific questions (i.e. " Answers "), and each answer has an array of options that were selected (i.e. " Values "). Here is what a single Submission basically looks like: { "SurveyId": 1, "LocationId": 1, "Answers": [ { "QuestionId": 1, "Values": [2,8,32], "Comment": null }

RavenDB Map/Reduce/Transform on nested, variable-length arrays

前提是你 提交于 2021-01-27 07:28:59
问题 I'm new to RavenDB, and am loving it so far. I have one remaining index to create for my project. The Problem I have thousands of responses to surveys (i.e. " Submissions "), and each submission has an array of answers to specific questions (i.e. " Answers "), and each answer has an array of options that were selected (i.e. " Values "). Here is what a single Submission basically looks like: { "SurveyId": 1, "LocationId": 1, "Answers": [ { "QuestionId": 1, "Values": [2,8,32], "Comment": null }

RavenDB Map/Reduce/Transform on nested, variable-length arrays

狂风中的少年 提交于 2021-01-27 07:27:35
问题 I'm new to RavenDB, and am loving it so far. I have one remaining index to create for my project. The Problem I have thousands of responses to surveys (i.e. " Submissions "), and each submission has an array of answers to specific questions (i.e. " Answers "), and each answer has an array of options that were selected (i.e. " Values "). Here is what a single Submission basically looks like: { "SurveyId": 1, "LocationId": 1, "Answers": [ { "QuestionId": 1, "Values": [2,8,32], "Comment": null }

Setting RavenDB ApiKey in NServiceBus 3.2.3

淺唱寂寞╮ 提交于 2019-12-24 20:40:24
问题 I am trying to set the RavenDB DocumentStore.ApiKey in NServiceBus 3.2.3. According to this thread, this is not able to be read directly from the connection string by the version of RavenDB used in NSB 3.2.3. The DocumentStore instance in NSB is registered as an IDocumentStore , which means I cannot use a custom action like this as IDocumentStore does not expose ApiKey : Configure.With() .DefaultBuilder() .RavenPersistence() .RunCustomAction(() => Configure.Instance.Configurer