Skip to content

Commit

Permalink
Merge branch 'Release-5.13.0' of https://github.com/aerospike/aerospi…
Browse files Browse the repository at this point in the history
…ke-client-nodejs into Release-5.13.0
  • Loading branch information
DomPeliniAerospike committed Oct 14, 2024
2 parents 1ce94ef + 74a7b76 commit af44497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/exp_lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ function getListType (type, returnType, isMulti) {
expected = exp.type.LIST
}
break
case lists.returnType.EXISTS:
expected = exp.type.BOOL
break
case lists.returnType.NONE:
default:
throw new TypeError('either set the return type as auto or match with return object data type')
Expand Down
3 changes: 3 additions & 0 deletions lib/exp_maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ function getMapType (type, returnType, isMulti) {
expected = exp.type.LIST
}
break
case maps.returnType.EXISTS:
expected = exp.type.BOOL
break
case maps.returnType.KEY_VALUE:
case maps.returnType.ORDERED_MAP:
case maps.returnType.UNORDERED_MAP:
Expand Down

0 comments on commit af44497

Please sign in to comment.