New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/acsellers/db

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/acsellers/db

v0.0.0-20140114160437-a57e7efe667a
Source
Go
Version published
Created
Source

DB - Sql Database Adapter

Build Status

There are plenty of mappers for Go, take your pick. DB has no desire to be just a mapper, DB wants to be a very good mapper, as well as a something more.

DB Features Current + Planned

  • Map data into structs from sql tables
    • Not require a bunch of struct tags for each mapped column
    • Allow users to have string's instead of sql.NullStrings, etc.
    • For complex mapping, allow developers to customize mapping behavior
  • Map custom queries into adhoc structs or existing structs with a subset of attributes
  • Track related structs using a mixin object to do recursive saving
  • Save either via a Mapper.Save or instance.Save (via activated mixin)
  • Initialize structs using a Mapper.Init function
  • Retrieve related struct in the original .Retrive[All?] using Include
  • Retrieve related structs later using a call from the mixin
  • Multiple database Mysql, sqlite3, ...

FAQs

Package last updated on 14 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts