@UNQKVSA[[u,]filename,"key","value"] : Append to the value of an existing UnQlite key/value pair.


uOptional flag that the key and value are Unicode (UTF16)
filenameDatabase opened with @UNQOPEN
keyKey to update
valueValue to append to the existing value


Returns 0 if successful, or the error text if not.




This example opens a database named "test.db", appends a string to an existing value, and then reads it back.


echo Testing file write and read

echo %@unqopen[rwc,test.db]

echo %@unqkvs[test.db,"key1","Append this to the first value"]

echo %@unqreads[test.db,"key1"]

echo %@unqclose[test.db]