1.0.3 • Published 7 months ago

nuclea-sql v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Example Usage

const { nusql } = require('nuclea-sql');

const query = nusql()
  .select('*')
  .from('users')
  .where('age', '>', 25)
  .limit(10)
  .offset(0)
  .build();

const connect = db.query
try{
  console.log(connect['rows'])
}
catch(e){
  console.error(e)
}


console.log(query);
// Output: SELECT * FROM users WHERE age > 25 LIMIT 10 OFFSET 0

Nuclea-SQL's concise and readable syntax empowers developers to build complex queries without sacrificing readability.

Getting Started

To start using Nuclea-SQL in your Nuclea-powered project, follow these simple steps:

  1. Installation: Install Nuclea-SQL as a dependency in your Node.js project using npm or yarn:
npm install nuclea-sql
  1. Import: Import Nuclea-SQL into your project and start building SQL queries with ease:
const { nusql } = require('nuclea-sql');
  1. Documentation: Explore the comprehensive Nuclea-SQL Documentation for detailed usage instructions, examples, and advanced features.

Contributing

We welcome contributions! If you'd like to contribute to this sql builder or report issues, please check our Contribution Guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Thanks to the github community for their valuable contributions.

If you find the nuclea-sql helpful, please consider giving it a ⭐️ on GitHub!

Happy coding! 🔥

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago