News for hackers. Stuff that matters.
Re:Show HN: I built a Backend so Simple that it Fits in 1 YA... by robbiejs on Saturday June 01, 2024 @11:41AM (#40546641)
Cool project, it speaks to me! And I dig the emojis.

I like the chain able queries, like:

``` const cats = await manifest .from('cats') .where('breed = siamese') .andWhere('active = true') .andWhere('birthDate > 2020-01-01') .find() ```

What is it inspired by?

Re:Show HN: I built a Backend so Simple that it Fits in 1 YA... by morbicer on Sunday June 02, 2024 @10:53AM (#40554675)
Looks exactly like https://knexjs.org/ but I bet there are query builders / ORMs with same syntax
Re:Show HN: I built a Backend so Simple that it Fits in 1 YA... by brunaxLorax on Monday June 03, 2024 @03:24AM (#40560175)
Mmmm... It comes from ORMs in general I guess. I appreciate the effort of some ORMs to get a nice syntax, making it feel like natural language. I guess Laravel Eloquent was my first crush in my PHP days. Then modern ORMs like TypeORM and Prisma do an excellent job IMO.

I also like the idea of transposing ORM-style queries in the browser to abstract the whole API response-request part.