// ColumnDeclaredType returns the declared type of the table column of a particular result column in SELECT statement. If the result column is an expression or subquery, then a NULL pointer is returned.
// The left-most column is column 0.
// (See http://www.sqlite.org/c3ref/column_decltype.html)
// (See http://sqlite.org/c3ref/c_dbconfig_enable_fkey.html)
...
...
@@ -370,7 +371,7 @@ func (c *Conn) OneValue(query string, value interface{}, args ...interface{}) er
returns.Scan(value)
}
// Count the number of rows modified.
// Changes counts the number of rows modified.
// If a separate thread makes changes on the same database connection while Changes() is running then the value returned is unpredictable and not meaningful.
// (See http://sqlite.org/c3ref/changes.html)
func(c*Conn)Changes()int{
...
...
@@ -411,11 +412,14 @@ const (
ExclusiveTransactionType=2
)
// Begin transaction in deferred mode
// Begin begins a transaction in deferred mode.
// (See http://www.sqlite.org/lang_transaction.html)
func(c*Conn)Begin()error{
returnc.BeginTransaction(Deferred)
}
// BeginTransaction begins a transaction of the specified type.
// (See http://www.sqlite.org/lang_transaction.html)