[erlang-questions] Mnesia wildcard query
Ulf Wiger
ulf@REDACTED
Fri May 17 20:05:28 CEST 2013
Many years ago I wrote rdbms_ms.erl,
https://github.com/gebi/jungerl/blob/master/lib/rdbms/src/rdbms_ms.erl
which takes a regexp.erl-style expression and converts it to a match spec.
It has its limitations, but works pretty well for simple expressions.
BR,
Ulf
On 14 May 2013, at 10:44, Janos Hary wrote:
> Hi,
>
> Is there a way to specify a ‘begins with’ style query in Mnesia? My keys are strings, and I’d like to get all of them sharing a given prefix.
>
> Thanks,
> Janos
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.
http://feuerlabs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130517/52b44837/attachment.htm>
More information about the erlang-questions
mailing list