How to query data saved in JSON in . Net Core’s Dbcontext

Asked

Viewed 20 times

1

Hello, I’m having a question regarding how to query a list or even a single record that was saved in the database in JSON format.

For example. inserir a descrição da imagem aqui

These are the data saved in JSON format in the database, but now I want to perform a query for a specific Userlogged Id or a product

how I can carry out this consultation ??

  • If the goal is to work with json, I would recommend using a more appropriate database, but you can find the answer to your question and more information in the Microsoft documentation: https://docs.microsoft.com/en-us/sql/relational-databases/json/json-data-sql-server?view=sql-server-ver15

  • @tvdias Thanks for the help.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.