<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1490069019324_396633" dir="ltr"><span id="yui_3_16_0_ym19_1_1490069019324_396632">A mnesia table with the key being the uuid of the object.<br><br>{db_mytable, uuid4, #{}}<br><br>You have full fold/match/select available to you now. <br><br>[Valid] = :mnesia.match_object({:db_mytable, _, #{auth=>#{token=> "353442323232"}})</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, March 24, 2017 10:13 AM, Steve Davis <steven.charles.davis@gmail.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div dir="ltr">Simplest (and most portable) would be:<br></div><div dir="ltr"><br></div><div dir="ltr">for the put/write: term_to_binary(Map), for the get/read: binary_to_term(Blob)<br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">erlang-questions mailing list<br></div><div dir="ltr"><a ymailto="mailto:erlang-questions@erlang.org" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div><div dir="ltr"><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div><br><br></div> </div> </div> </div></div></body></html>