Some database engines have built-in support for querying JSON types, such as Postgres (this is how Marten works) and (to a more limited extent) Microsoft SQL Server.
For databases that support this, it would be great to be able to query documents in this way. This would also mean that you wouldn't have to create indexes for every possible way you want to query your data up-front.
Some database engines have built-in support for querying JSON types, such as Postgres (this is how Marten works) and (to a more limited extent) Microsoft SQL Server.
For databases that support this, it would be great to be able to query documents in this way. This would also mean that you wouldn't have to create indexes for every possible way you want to query your data up-front.