beedb icon indicating copy to clipboard operation
beedb copied to clipboard

Offset and Order

Open floki2020 opened this issue 11 years ago • 3 comments

orm.Limit(10).OrderBy("uid").FindAll(&alluser)

我没查到任何东西,加上offset 之后也不能查询!

floki2020 avatar Apr 17 '13 12:04 floki2020

把beedb文件直接放到工程下,开启debug模式,会打印出sql来另外,字段名不能带下划线

------------------ 原始邮件 ------------------ 发件人: "Alex"[email protected]; 发送时间: 2013年4月17日(星期三) 晚上8:52 收件人: "astaxie/beedb"[email protected];

主题: [beedb] Offset and Order (#26)

##orm.Limit(10).OrderBy("uid").FindAll(&alluser) 我没查到任何东西,加上offset 之后也不能查询!

— Reply to this email directly or view it on GitHub.

elephantsaunter avatar Apr 17 '13 14:04 elephantsaunter

@huyan 字段名不能带下划线,为什么?

defp avatar Apr 17 '13 14:04 defp

Would be nice to have a bit of translation so we don't ask for the same thing.

What do you think?

laplix avatar Jun 04 '13 23:06 laplix