Skip to main content
Small grammar fixes
Source Link
Andy
  • 10.4k
  • 4
  • 28
  • 51

I read the discussion Should CQRS Command perform a Query?

But I don't understand in which database the query is performed, because I have two distinct databases (one- one for readreads (queries) and one for commandwrites (commands).

If I need to take the customer info, I need to read from the Write Database? Is this way correct?
I I think yes because if I read from the Read Database, I need to inject the reference to ReadModel and ReadDatabase and I loose the SEGREGATION, right?

I read the discussion Should CQRS Command perform a Query?

But I don't understand in which database the query is performed, because I have two distinct databases (one for read and one for command).

If I need to take the customer info, I need to read from the Write Database? Is this way correct?
I think yes because if I read from the Read Database, I need to inject the reference to ReadModel and ReadDatabase and I loose the SEGREGATION, right?

I read the discussion Should CQRS Command perform a Query?

But I don't understand in which database the query is performed, because I have two distinct databases - one for reads (queries) and one for writes (commands).

If I need to take the customer info, I need to read from the Write Database? Is this way correct? I think yes because if I read from the Read Database, I need to inject the reference to ReadModel and ReadDatabase and I loose the SEGREGATION, right?

In witchwhich database CQRS Command performperforms a Query?

I read the discussion Should CQRS Command perform a Query?

But I don't understand in witchwhich database can perform the query. Because is performed, because I have two distinct databasedatabases (one for read and one for command).

If I need to take the customer info, I need to read from the Write Database? It's a correctIs this way correct? I
I think yes because if I read from the Read Database, I need to inject the reference to ReadModelReadModel and ReadDatabaseReadDatabase and I lostloose the SEGREGATION, right?

In witch database CQRS Command perform a Query?

I read the discussion Should CQRS Command perform a Query?

But I don't understand in witch database can perform the query. Because I have two distinct database (one for read and one for command).

If I need to take the customer info I need to read from the Write Database? It's a correct way? I think yes because if I read from Read Database I need to inject the reference to ReadModel and ReadDatabase and I lost the SEGREGATION, right?

In which database CQRS Command performs a Query?

I read the discussion Should CQRS Command perform a Query?

But I don't understand in which database the query is performed, because I have two distinct databases (one for read and one for command).

If I need to take the customer info, I need to read from the Write Database? Is this way correct?
I think yes because if I read from the Read Database, I need to inject the reference to ReadModel and ReadDatabase and I loose the SEGREGATION, right?

Source Link

In witch database CQRS Command perform a Query?

I read the discussion Should CQRS Command perform a Query?

But I don't understand in witch database can perform the query. Because I have two distinct database (one for read and one for command).

If I need to take the customer info I need to read from the Write Database? It's a correct way? I think yes because if I read from Read Database I need to inject the reference to ReadModel and ReadDatabase and I lost the SEGREGATION, right?