Questions tagged [ravendb5]

24 questions
2
votes
0 answers

Forbidden Access with RavenDB 5 Client

I am trying to connect to my cloud based ravendb database using the ravendb client. I have no issues on my local machine, however whenever I attempt to connect on my production game server, I receive the following error: Forbidden…
2
votes
0 answers

RavenDB import from relational database

Is it possible to import data from a relational database to RavenDB using a complex query? This query joins several tables, more than 20 in a very complex way, something that is not achievable using its Migration tool in RavenDB studio. I was…
DanielV
  • 2,076
  • 2
  • 40
  • 61
2
votes
1 answer

List RavenDB collections, using py-ravendb

I'm trying to query or list all collections in a RavenDB database, using RavenDB's Python Client. So far I've come to something like: URLS = ['http://localhost:8080'] DB_NAME = 'my-db' store = DocumentStore(URLS, DB_NAME) store.initialize() with…
Juliën
  • 9,047
  • 7
  • 49
  • 80
2
votes
0 answers

How do perform a graph query and join?

I apologize for the title, I don't exactly know how to word it. But essentially, this is a graph-type query but I know RavenDB's graph functionality will be going away so this probably needs to be solved with Javascript. Here is the scenario: I have…
Sinaesthetic
  • 11,426
  • 28
  • 107
  • 176
2
votes
1 answer

i want to insert a json file in RavenDb with python

I am looking for a method, on how can I insert values as JSON format in RavenDB with python. code: cert = {'pfx': '...', 'password': '...'} document_store = document_store.DocumentStore(["link DB"], "name DB", certificate=cert) doc =…
o akka
  • 81
  • 3
2
votes
0 answers

Why xUnit test case runs successfully while debugging but not while running in .NET6 and RavenDB 5.3?

The issue is that the below test method works perfectly fine while debugging the code but does not work while running it. Below test method determines whether the fetch of records is successful or not. [Fact(DisplayName = "Fetch list of Refund Batch…
Bijay Yadav
  • 928
  • 1
  • 9
  • 22
2
votes
2 answers

RavenDb add property using RQL

Is there a way to add a property to all documents in a collection using RQL(Patch)? Bulk-Insert is a possible solution, but it's required to write c# code, which is not a fast solution to achieve, specially in a matter that you need to manipulate…
Xaimaran
  • 403
  • 4
  • 17
2
votes
0 answers

RavenDb: How to Get All Documents that have an related document?

So I've looked at the samples which use LoadDocument, but that requires the Id of the document that you're loading. In my case it's the exact opposite. I need all of the primary documents that have a document related to it, for which I know the…
James Hancock
  • 3,348
  • 5
  • 34
  • 59
1
vote
2 answers

RavenDB v5.4: globally wait for indices to finish before reads for integration tests

In my integration test setup entities are created using API endpoints and then that data is used by other endpoints right away. That creates problems when an index is not up to date yet and fetching an item that was just written comes back…
LLL
  • 3,566
  • 2
  • 25
  • 44
1
2