No side effects for toBlob.
FossilOrigin-Name: 70801bf0758efd8cd7f15c829809d598fa18ac5e3d29a310ce14c956969b53e6
This commit is contained in:
parent
e532c50e99
commit
30d60f2cd2
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ func toList*( value: KuzuValue ): seq[ KuzuValue ] =
|
|||
const toSeq* = toList
|
||||
|
||||
|
||||
proc toBlob*( value: KuzuValue ): seq[ byte ] =
|
||||
func toBlob*( value: KuzuValue ): seq[ byte ] =
|
||||
## Conversion from Kuzu type to Nim - returns a BLOB as a sequence of bytes.
|
||||
if value.kind != KUZU_BLOB:
|
||||
raise newException( KuzuTypeError, &"Mismatched types: {value.kind} != blob" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue