Skip to content

Dynamic Query Builder is a versatile tool that allows users to construct complex database queries dynamically without the need to write code manually. It provides a user-friendly interface for creating and customizing queries on-the-fly, offering flexibility and efficiency in data retrieval and manipulation.

Notifications You must be signed in to change notification settings

TheLivingTiramisu/dynamic-query-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Welcome to Dynamic Query Builder 🚀

Dynamic Query Builder

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!

What is Dynamic Query Builder?

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.

Features

🔍 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.

Getting Started

To get started with Dynamic Query Builder, simply download the library from the following link:

Download Dynamic Query Builder

If the link above does not work, please check the Releases section of this repository for an alternative download link.

Usage

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

Examples

Here are some examples of how you can use Dynamic Query Builder in your applications:

Example 1: Filtering Data

const query = queryBuilder.eq('status', 'active').build();
// Query to filter data where status is active

Example 2: Sorting Results

const query = queryBuilder.sort('createdAt', 'desc').build();
// Query to sort results by createdAt field in descending order

Contributing

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!

License

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! 🌟

Powered by Dynamic Query Builder

About

Dynamic Query Builder is a versatile tool that allows users to construct complex database queries dynamically without the need to write code manually. It provides a user-friendly interface for creating and customizing queries on-the-fly, offering flexibility and efficiency in data retrieval and manipulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published