[ANN] Khepri 0.2.1 - A tree-like replicated on-disk database library
Frank Muller
frank.muller.erl@REDACTED
Sat Feb 19 10:39:47 CET 2022
Would it be possible to have a syntactic sugar(parse_transform) for
wildcards:
Ret = khepri:get("/stock/wood/_"
instead of:
PathPattern = [stock, wood, #if_node_matches{regex = any}].
Search all brands offering flipflop:
Ret = khepri:get("/shoe/_/flipflop"
It will greatly simplify the interface IMHO.
Best
/F.
<jean-sebastien.pedron@REDACTED> a écrit :
> On 18/02/2022 17:17, I Gusti Ngurah Oka Prinarjaya wrote:
> > Thank you so much for your awesome clear explanation.
> >
> > >>> Triggers in Khepri could be compared to a combination between
> > >>> `erlang:monitor/2` (which would know about tree nodes) and
> > `erlang:apply/2`.
> > I feel more comfortable now knowing this comparison.
>
> Awesome! I will clarify the documentation then to make sure that,
> despite having the same name & being kind of the same idea, triggers in
> Khepri are not to be confused with triggers in RDBMS.
>
> --
> Jean-Sébastien Pédron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20220219/a0f0bcb0/attachment.htm>
More information about the erlang-questions
mailing list