diff --git a/g/database/gdb/gdb_model.go b/g/database/gdb/gdb_model.go index f2ab4d437..9e026df62 100644 --- a/g/database/gdb/gdb_model.go +++ b/g/database/gdb/gdb_model.go @@ -3,8 +3,6 @@ // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. -// -// @author john, ymrjqyy package gdb diff --git a/g/database/gdb/gdb_mssql.go b/g/database/gdb/gdb_mssql.go index c0a1fff85..9d8f1ad0f 100644 --- a/g/database/gdb/gdb_mssql.go +++ b/g/database/gdb/gdb_mssql.go @@ -3,23 +3,21 @@ // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. -/* -@author wenzi1 -@date 20181109 -说明: - 1.需要导入sqlserver驱动: github.com/denisenkom/go-mssqldb - 2.不支持save/replace方法 - 3.不支持LastInsertId方法 -*/ +// 说明: +// 1.需要导入sqlserver驱动: github.com/denisenkom/go-mssqldb +// 2.不支持save/replace方法 +// 3.不支持LastInsertId方法 +// package gdb import ( "database/sql" "fmt" - "github.com/gogf/gf/g/text/gregex" "strconv" "strings" + + "github.com/gogf/gf/g/text/gregex" ) // 数据库链接对象 diff --git a/g/database/gdb/gdb_oracle.go b/g/database/gdb/gdb_oracle.go index ad196e835..b17324555 100644 --- a/g/database/gdb/gdb_oracle.go +++ b/g/database/gdb/gdb_oracle.go @@ -3,23 +3,20 @@ // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. -/* -@author wenzi1 -@date 20181026 -说明: - 1.需要导入oracle驱动: github.com/mattn/go-oci8 - 2.不支持save/replace方法,可以调用这2个方法估计会报错,还没测试过,(应该是可以通过oracle的merge来实现这2个功能的,还没仔细研究) - 3.不支持LastInsertId方法 -*/ +// 说明: +// 1.需要导入oracle驱动: github.com/mattn/go-oci8 +// 2.不支持save/replace方法,可以调用这2个方法估计会报错,还没测试过,(应该是可以通过oracle的merge来实现这2个功能的,还没仔细研究) +// 3.不支持LastInsertId方法 package gdb import ( "database/sql" "fmt" - "github.com/gogf/gf/g/text/gregex" "strconv" "strings" + + "github.com/gogf/gf/g/text/gregex" ) // 数据库链接对象 diff --git a/g/database/gdb/gdb_sqlite.go b/g/database/gdb/gdb_sqlite.go index 708243231..e890c4ddf 100644 --- a/g/database/gdb/gdb_sqlite.go +++ b/g/database/gdb/gdb_sqlite.go @@ -3,7 +3,6 @@ // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. -// @author wxkj package gdb