Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

考虑支持sqlserver吗? #90

Open
feynmanloo opened this issue Aug 12, 2020 · 1 comment
Open

考虑支持sqlserver吗? #90

feynmanloo opened this issue Aug 12, 2020 · 1 comment

Comments

@feynmanloo
Copy link

No description provided.

@LyricTian
Copy link
Owner

Gorm 自身是支持 SQLServer 驱动的,可查看:

import (
  "github.com/jinzhu/gorm"
  _ "github.com/jinzhu/gorm/dialects/mssql"
)

func main() {
  db, err := gorm.Open("mssql", "sqlserver://username:password@localhost:1433?database=dbname")
  defer db.Close()
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants