Browse Source

修改连接

master v0.4.2
guzeng 3 years ago
parent
commit
74d90296a6
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      chain.go
  2. +2
    -0
      sqlserver.go

+ 1
- 1
chain.go View File

@ -39,7 +39,7 @@ func NewQuery(t ...string) *Query {
conn_type = DB
case "mssql": //sql server
conn_type = MSDB_CONNDB
conn_type = MSDB_CONN
}
}


+ 2
- 0
sqlserver.go View File

@ -2,6 +2,8 @@ package dbquery
import (
"database/sql"
"errors"
"fmt"
"log"


Loading…
Cancel
Save