分片表qlc查询
摘要:
F = fun() -> qlc:e(qlc:q([X || X <- mnesia:table(user)])) end, mnesia:activity(transaction, F, [], mnesia_frag).按条件查询:mnesia:activity(transaction, fun() -> qlc:e(qlc:q([R || R <- mnesia:ta... 阅读全文
posted @ 2009-08-19 21:54 废铁 阅读(375) 评论(0) 推荐(0) 编辑