sqlhelper

package module
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: BSD-2-Clause Imports: 0 Imported by: 0

README

sqlhelper/v2

uptrace/bun的代理对象,用于解决对常见关系数据库pg,mysql,sqlserver和sqlite3的连接问题.

v2版本使用了泛型语法,因此只支持go 1.18+的编译器,如果go版本低于1.18请使用v0版本

本项目使用bun而不是xorm或者gorm这些老牌的项目主要是因为:

  1. bun对postgresql有更好的支持,原生支持jsonb,array等数据类型
  2. 使用标准库database/sql的接口定义
  3. 文档可读性更好些,虽然是英文

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL