- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for LastInsertId (0.1 sec)
-
callbacks/create.go
} db.RowsAffected, _ = result.RowsAffected() if db.RowsAffected == 0 { return } var ( pkField *schema.Field pkFieldName = "@id" ) insertID, err := result.LastInsertId() insertOk := err == nil && insertID > 0 if !insertOk { if !supportReturning { db.AddError(err) } return } if db.Statement.Schema != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
api/go1.txt
pkg database/sql, type NullString struct, String string pkg database/sql, type NullString struct, Valid bool pkg database/sql, type RawBytes []uint8 pkg database/sql, type Result interface { LastInsertId, RowsAffected } pkg database/sql, type Result interface, LastInsertId() (int64, error) pkg database/sql, type Result interface, RowsAffected() (int64, error) pkg database/sql, type Row struct pkg database/sql, type Rows struct
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)