Blazor Query Builder - MongoDB and SQL Query Generation

Query Builder / Mongo and SQL Query

This sample demonstrates the Query Builder component by showing different types of queries such as SQL and MongoDB . The query preview can be changed using the tab component. Queries can be imported to the Query Builder using the import dropdown button.

Loading Syncfusion Blazor Server Demos…

In this demo, Query Builder features include exporting and importing the query as an SQL query and MongoDB queries. MongoDB is a tool that allows users to search for error logs in a MongoDB database. It provides a user-friendly interface for constructing and executing queries and allows users to filter, sort, and export the results for further analysis.

In mobile mode, the component is shown vertically.

The following methods were used in this sample to perform mongo and SQL query related changes.

  • SetMongoQuery
  • GetMongoQuery
  • SetParameterSql
  • GetParameterSql
  • SetNamedParameterSql
  • GetNamedParameterSql

More information about Blazor QueryBuilder component can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE