Skip to content

Commit

Permalink
Cleanup UpdateCommand>>#needsRowCount
Browse files Browse the repository at this point in the history
Fix #135
  • Loading branch information
astares committed Jul 15, 2023
1 parent 43b38af commit 198cb80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Glorp/UpdateCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ UpdateCommand >> fieldsNeedingUpdate [
ifFalse: [ row nonPrimaryKeyFields ]
]

{ #category : #accessing }
{ #category : #testing }
UpdateCommand >> needsRowCount [

^ row lockKeyFields isEmpty not
^ row lockKeyFields isNotEmpty
]

{ #category : #printing }
Expand Down

0 comments on commit 198cb80

Please sign in to comment.