[erlang-questions] Mnesia - Check for a value in either of the keys in the table

Manoj Raj rajmanoj.bottle@REDACTED
Tue May 21 03:09:23 CEST 2013


Hi,

I have a mnesia table "users" created with the following record

-record(users,{username,nickname,age})

I have a name now to input...I want to check whether name is present in
"username" or "nickname"....If someone can suggest me a way, i will really
happy...


Thanks...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130521/48003b7e/attachment.htm>


More information about the erlang-questions mailing list