GithubHelp home page GithubHelp logo

asif-fndr / schema Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jimsmart/schema

0.0 0.0 0.0 43 KB

schema is a Go package providing access to database schema metadata, for database/sql drivers.

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%

schema's Introduction

schema

BSD3 Build Status codecov Go Report Card Used By Godoc

schema is a Go package providing access to database schema metadata, for database/sql drivers.

TODO more docs

Currently supporting the following database engines / SQL dialects:

  • Microsoft SQL Server
  • MySQL
  • Oracle
  • Postgres
  • SQLite

For a list of supported drivers, and their capabilities with regards to sql.ColumnType support, see drivercaps

Installation

$ go get github.com/jimsmart/schema
import "github.com/jimsmart/schema"

Dependencies

  • A supported database driver.
  • Standard library.
  • Ginkgo and Gomega if you wish to run the tests.
  • Tests also require various database drivers to be installed and configured.

Example

See GoDocs for usage examples.

Documentation

GoDocs https://godoc.org/github.com/jimsmart/schema

Testing

Note that a moderate amount of database setup and configuration is required for successful execution of the tests.

To run the tests execute go test inside the project folder.

For a full coverage report, try:

$ go test -coverprofile=coverage.out && go tool cover -html=coverage.out

License

Package schema is copyright 2018 by Jim Smart and released under the BSD 3-Clause License

schema's People

Contributors

jimsmart avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.