Dynamic Mnesia Queries.
Mon Jun 21 15:14:28 CEST 1999
On Sun, 20 Jun 1999, Elan <icimjs@REDACTED> wrote:
Elan> Still, I think it should be possible to do something like this using
Elan> Does anyone know how Menomsyne could be used to do something similar?
There is an UNSUPPORTED function in the API that takes a Mnemosyne
query as a string and converts it into a Mnemosyne query handle:
Q = mnemosyne:string_to_handle(
"query [ X || X <- table(q),Y <- table(r),X.b = Y.f1] end. "),
mnesia:transaction(fun() -> mnemosyne:eval(Q) end).
It may still work, but perhaps it is too limited to be useful for you.
There also exists an experimental SQL compiler that generates the
internal form of Mnemosyne from SQL. This work was performed as a
More information about the erlang-questions