An unofficial, read-only Hacker News reader.

Lua as a Query Language (opens external site)

100 points by remywang 17 hours ago | remy.wang | 20 comments on HN

View full thread · View on Hacker News

Comment thread (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.