Skip to content

go-sqlx/sqlx

Folders and files

NameName
Last commit message
Last commit date
Sep 29, 2023
Jul 30, 2023
Jul 20, 2019
Jan 24, 2021
Apr 9, 2021
Jul 9, 2013
Oct 11, 2024
Aug 8, 2023
Aug 8, 2023
May 18, 2014
Apr 8, 2025
Apr 8, 2025
Mar 10, 2024
Apr 8, 2019
Nov 18, 2020
Mar 10, 2024
Jul 30, 2023
Nov 23, 2019
Jul 30, 2023
Jul 30, 2023

Repository files navigation

Note

This is a pr-maintained fork from the original repo to keep some maintanance

go/sqlx

Code-Testing

Quick dating the lib:

  • 🧐 What is sqlx?
    sqlx is a library which provides a set of extensions on go's standard database/sql library.
  • 🚀 Why use sqlx?
    Marshal rows into Structs, Named Prepared Statements, Get and Select to go quickly from query to struct/slice
  • 🤝🏻 comapitble with the native packages?
    sqlx leaves the underlying interfaces untouched and just superset on the standard ones

install

Latest and Greatest

    go get github.com/go-sqlx/sqlx

Older Versions from jmoiron

Jmoirons version 1.3.5 is equal with our version 1.3.6

⚠️ not the newest version, but from there you can migrate up
(old releases won't work of this repo and are just here for documentation purposes)

    module ...

    go 1.20

+   replace github.com/jmoiron/sqlx v1.3.5 => github.com/go-sqlx/sqlx v1.3.6

    require(
        ...
    )

About

general purpose extensions to golang's database/sql

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages