Dynamic Query Builder is a powerful JavaScript library that enables developers to easily create dynamic queries for their applications. Whether you need to filter data, sort results, or customize your queries, Dynamic Query Builder has got you covered!
Dynamic Query Builder is a JavaScript library that provides developers with a set of tools to dynamically construct queries for their applications. With a simple and intuitive API, you can easily create complex queries without having to write long and complicated code.
🔍 Query Building: Easily build queries using a variety of operators such as contains
, eq
, gt
, gte
, lt
, lte
, and ne
.
🔧 ORM Integration: Seamlessly integrate Dynamic Query Builder with your favorite ORM to create dynamic queries for your data.
⚡ Customizable: Customize your queries to fit your specific requirements and retrieve the data you need.
To get started with Dynamic Query Builder, simply download the library from the following link:
If the link above does not work, please check the Releases section of this repository for an alternative download link.
Using Dynamic Query Builder is simple and straightforward. Here's a quick example to demonstrate how you can create a dynamic query using the library:
const queryBuilder = new DynamicQueryBuilder();
const query = queryBuilder
.contains('name', 'John')
.and()
.gte('age', 18)
.build();
// Use the query to retrieve data from your database
Here are some examples of how you can use Dynamic Query Builder in your applications:
const query = queryBuilder.eq('status', 'active').build();
// Query to filter data where status is active
const query = queryBuilder.sort('createdAt', 'desc').build();
// Query to sort results by createdAt field in descending order
If you would like to contribute to Dynamic Query Builder, feel free to submit a pull request with your changes. We welcome contributions from the community to make this library even better!
Dynamic Query Builder is licensed under the MIT License. See LICENSE for more information.
Thank you for checking out Dynamic Query Builder! We hope this library simplifies your query building process and enhances the functionality of your applications. If you have any questions or feedback, feel free to reach out. Happy coding! 🌟