Skip to content

Commit

Permalink
Spell
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Mar 18, 2024
1 parent dbe7213 commit 55a6c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdbms/primary_key/primary_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (k *Keys) LoadValues(startingValues, endingValues []any) error {
return nil
}

// UpdateStartingValue sets the starting value for a primary key and returnes whether the starting value changed.
// UpdateStartingValue sets the starting value for a primary key and returns whether the value changed.
func (k *Keys) UpdateStartingValue(keyName string, startingVal any) (bool, error) {
idx := slices.IndexFunc(k.keys, func(x Key) bool { return x.Name == keyName })
if idx < 0 {
Expand Down

0 comments on commit 55a6c1c

Please sign in to comment.