Skip to content

Conversation

@wving5
Copy link

@wving5 wving5 commented May 25, 2019

Hi, 偶然翻到你的 repo, nice work~

最近也是正好在做相关的事情,尝试了下基于你的 repo 演化成链式调用的方式,感兴趣可以看一下哦~

    NSArray *result = _SQLSelect(LKTest).where(
      _SQLWhere.eq(@"colA", nil).and.expr(
          _SQLWhere.eq(@"colAA", @"val").or.neq(@"colAB", @1)
       )
      .and.lte(@"colC", @2)
      .or.eq(@"colD", @3)
    ).orderBy(@"age DESC, name ASC")
    .groupBy(@"country, state").limit(0).offset(0).exec();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant