Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LastInsertId (0.36 sec)

  1. callbacks/create.go

    				return
    			}
    			pkField = db.Statement.Schema.PrioritizedPrimaryField
    			pkFieldName = db.Statement.Schema.PrioritizedPrimaryField.DBName
    		}
    
    		insertID, err := result.LastInsertId()
    		insertOk := err == nil && insertID > 0
    
    		if !insertOk {
    			if !supportReturning {
    				db.AddError(err)
    			}
    			return
    		}
    
    		// append @id column with value for auto-increment primary key
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top