An unofficial, read-only Hacker News reader.

Lua as a Query Language (opens external site)

99 points by remywang 16 hours ago | remy.wang | 19 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. My port of LINQ into TypeScript: https://tinqerjs.org

    By now battle-tested in production.

    Replies (1)
    1. Can you compare it to kysely.dev?
      Replies (1)
      1. Not a big fan of kysely's approach, but it's subjective.

          kysely: query = query.where('id', '=', criteria.id)
          tinqerjs: query = query.where(x => x.id === criteria.id)
        
        Tinqerjs adopts LINQ's expression-tree based approach. It's type-safe, and I suppose so is kysely.