Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

identitii/sprocbind

Repository files navigation

sprocbind

Generates go bindings to Microsoft SQL Server (mssql) stored procedures, including Table Valued Parameters (TVP).

It is intended to be used with https://github.com/denisenkom/go-mssqldb once denisenkom/go-mssqldb#413 is merged in.

Until that PR is accepted, you can use https://github.com/elliots/go-mssqldb/tree/tvp

WIP, but in use.

Usage

go get -a github.com/identitii/sprocbind

sprocbind --input my-file-with-sprocs.sql --output sprocs.go --go-package db

TODO

  • A lot of cleanup.

Thanks

The authors of the tsql antl4 grammar that this package is built on:

(TODO: add link to original source of tsql.g4)

About

Generates Golang bindings to MSSQL stored procedures, including TVP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors