ozzo-dbx

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabil

What is ozzo-dbx?

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities.

Overview of ozzo-dbx

What it is

ozzo-dbx is a Go package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities. It is not an ORM.

Key features

  • Populating data into structs and NullString maps - Named parameter binding - DB-agnostic query building methods, including SELECT queries, data manipulation queries, and schema manipulation queries - Inserting, updating, and deleting model structs - Powerful query condition building - Open architecture allowing addition of new database support or customization of existing support - Logging executed SQL statements - Supporting major relational databases (SQLite, MySQL, PostgreSQL, MS SQL Server, Oracle)

Use cases

The package is used for accessing data from relational databases in Go applications. It is suitable for building RESTful APIs, as referenced by the go-rest-api starter kit. It can be used for any application that requires database interaction with structured query building and data retrieval.

Getting started

Install the package: go get github.com/go-ozzo/ozzo-dbx Also install the specific DB driver (e.g., for MySQL): go get github.com/go-sql-driver/mysql For detailed usage examples, see the repository README.

License and pricing

The package is licensed under the MIT License and is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/go-ozzoozzo-dbx.svg)](https://yunodb.com/tools/go-ozzoozzo-dbx?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/go-ozzoozzo-dbx?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/go-ozzoozzo-dbx.svg" alt="Featured on YunoDB" height="20"></a>