Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  Operator "LIKE" in Erlang

Departed
Posted: Tue Jan 15, 2008 6:01 am Reply with quote
Joined: 15 Jan 2008 Posts: 1
I'm very novice in Erlang but I have a job to do with it ,which concern to information retrieving. This is my question.

Does mnesia have any operator which equivalent to "LIKE" in SQL language?
If it does not have any kind of mention operator how can I query information which input may not exactly match to the whole word of data in mnesia?

Thank in advance.
View user's profile Send private message
francesco
Posted: Wed Jan 16, 2008 5:00 pm Reply with quote
User Joined: 07 Jul 2006 Posts: 249 Location: London
The LIKE operator, if memory does not fail me, can be used to set wild cards. Take a look at selects and query lists comprehensions. They are probably the closest to what you are looking for.

Regards,
Francesco
--
http://www.erlang-consulting.com
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum