Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
gerold-penz committed Jul 31, 2024
1 parent dab9e63 commit a1b2ca9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export class BunSqliteKeyValue {

// If key already exists and is a string, this command appends the value at the end of the string.
// If key does not exist it is created and set as an empty string,
// so APPEND will be similar to `set()` in this special case.
// so `append()` will be similar to `set()` in this special case.
// Returns the length of the string after the append operation.
// Inspired by: https://docs.keydb.dev/docs/commands/#append
append(key: string, value: string, ttlMs?: number): number {
Expand All @@ -498,5 +498,4 @@ export class BunSqliteKeyValue {
})()
}


}

0 comments on commit a1b2ca9

Please sign in to comment.