vlquery:VL查询
vlquery TypeScript ORM简单易用,基于TypeScript的数据库优先ORM用于postgres。这是一个小例子: const books = await db.book t.where(book => book.author.firstname == "Jan") t.orderByAscending(book => book.title) t.toArray(); const author = await db.person.find(""); const authorsFirstBookFrom2001 = await author.books t.first(book => book.publishedAt.year == 2001); authorsFirstBookFrom2001.title = "A new
103.72KB
文件大小:
评论区