{"repo":"go-ozzo/ozzo-dbx","free":true,"listed":false,"github":"https://github.com/go-ozzo/ozzo-dbx","clone":"git clone https://github.com/go-ozzo/ozzo-dbx.git","description":"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.","language":"Go","stars":671,"topics":["golang","go","database","ozzo"],"license":"MIT","category":"databases-storage","readme_excerpt":"ozzo-dbx Summary - Description - Requirements - Installation - Supported Databases - Getting Started - Connecting to Database - Executing Queries - Binding Parameters - Building Queries - Building SELECT Queries - Building Query Conditions - Building Data Manipulation Queries - Building Schema Manipulation Queries - CRUD Operations - Create - Read - Update - Delete - Null Handling - Quoting Table and Column Names - Cancelable Queries - Using Transactions - Logging Executed SQL Statements - Supporting New Databases Other Languages Русский Description 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. ozzo-dbx is not an ORM. It has the following 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 For an example on how this library is used in an application, please refer to go-rest-api which is a starter kit for building RESTful APIs in Go. Requirements Go 1.21 or above. Installation Run the following command to install the package: In addition, install the specific DB","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-ozzo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-ozzo/ozzo-dbx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}