The Query Matrix Builder is a Blazor WebAssembly application that empowers users to visually construct and execute complex database queries. It supports nested conditions, logical operators (AND, OR), and allows for query preview and result export.
- 🛠️ Dynamic Query Builder: Create queries using nested conditions and groups.
- 🔗 Logical Operators: Combine conditions with
ANDorOR. - 👀 Query Preview: View the JSON representation of the query structure.
- 📋 Result Display: Render query results dynamically in a table or JSON format.
- 💾 Export Results: Download query results as a JSON file.
- 🗂️ Entity Type Selection: Query different entity types like
Product,Category, etc.
- 🟦 .NET 6 SDK or higher
- 🐘 PostgreSQL
- Clone the Repository 🌀
git clone https://github.com/your-username/query-matrix-builder.git cd query-matrix-builder
- Navigate to the
Serverproject directory. - Update the
appsettings.jsonfile with your PostgreSQL connection string. - Run the database migrations:
dotnet ef database update
- Choose an entity type from the dropdown (e.g.,
Product,Category).
- Use the Add Condition button to define a query condition.
- Use the Add Group button to create nested logical groups.
- View the query in JSON format using the Show Query button.
- Click the Execute Query button to run the query against the database.
- Download query results as a JSON file using the Export button.