Bamboo的外键后端存储格式由list改成了zset

0 views
Skip to first unread message

唐刚

unread,
Apr 19, 2011, 9:13:47 PM4/19/11
to bamb...@googlegroups.com
提醒:Bamboo的外键后端存储格式由list改成了zset。其中,zset中元素的score就是元素在序列中的整数index。并且,现在可以处理同一个外键可以多次重复添加的bug。

体会到,zset = list + set,很强大的一个东西。模型的实例对象索引也是用的它,太好用了。

API没变的,大家放心使用。



--
唐 刚 -- Tang Gang
成都勒格科技有限责任公司 / Legerobot Technology, Co.,Ltd.
网址:http://www.legerobot.com/
地址:中国 四川 成都市科华北路91号川大创业园302室   邮编:610041
电话: +86 028 85408252               手机: +86 015281020829
E-mail: t...@legerobot.com             QQ: 624910278
Gtalk: daoga...@gmail.com         MSN: daoga...@hotmail.com

Reply all
Reply to author
Forward
0 new messages