Suggestion: db:delete-value(), db:delete-binary()
Hello,
I wonder if it wouldn't be worthwhile to complement the functions *db:put-value()* and *db:get-value()* by a third function
*db:delete-value()?* And, similarly, to add a function *delete-binary()*.
Kind regards, Hans-Jürgen
Hi Hans-Jürgen,
For deleting resources of any type, the existing db:delete function can be used [1].
Best, Christian
Quoted text · Hans-Jürgen Rennau · 8 lines
On Wed, Jan 11, 2023 at 12:21 PM Hans-Jürgen Rennau <hjrennau at gmail.com> wrote: > > Hello, > > I wonder if it wouldn't be worthwhile to complement the functions db:put-value() and db:get-value() by a third function db:delete-value()? And, similarly, to add a function delete-binary(). > > Kind regards, > Hans-Jürgen
I am the hare, BaseX the hedgehog, no matter how fast I run, BaseX is already there. Am Donnerstag, 12. Januar 2023 um 12:23:29 MEZ hat Christian Grün <christian.gruen at gmail.com> Folgendes geschrieben:
Hi Hans-Jürgen,
For deleting resources of any type, the existing db:delete function can be used [1].
Best, Christian
Quoted text · Hans-Jürgen Rennau · 8 lines
On Wed, Jan 11, 2023 at 12:21 PM Hans-Jürgen Rennau <hjrennau at gmail.com> wrote: > > Hello, > > I wonder if it wouldn't be worthwhile to complement the functions db:put-value() and db:get-value() by a third function db:delete-value()? And, similarly, to add a function delete-binary(). > > Kind regards, > Hans-Jürgen
Written for BaseX 10.4. BaseX may have changed since: please check the current documentation.