8 ms·
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 = si
by robbiejs 2y ago
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?
- morbicer 2y agoLooks exactly like https://knexjs.org/ https://knexjs.org/ but I bet there are query builders / ORMs with same syntax
- brunaxLorax 2y agoMmmm... 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.