Suggestion: db:delete-value(), db:delete-binary()
Wednesday, 11 January 2023 · 3 messages · last reply 12 Jan 2023
HR
Hans-Jürgen Rennau11 Jan 2023 12:21 #
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ürgenCG
Christian Grün12 Jan 2023 12:23 #
Hi Hans-Jürgen,
For deleting resources of any type, the existing
db:delete function can be used [1].
Best,
Christian
[1] https://docs.basex.org/wiki/Database_Module#db:deleteQuoted 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
HR
Hans-Juergen Rennau12 Jan 2023 12:42 #
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
[1] https://docs.basex.org/wiki/Database_Module#db:deleteQuoted 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.
⚡Generated with XQuery