zapatos
zapatos copied to clipboard
Zero-abstraction Postgres for TypeScript: a non-ORM database library
In any case, can we make it to support functions and Stored procedure?
I'm having difficulties getting my project to build. Essentially I want to create a publishable node module (let's call it `my-db`) that exports the zapatos DB instance and the generated...
Hey! :) Found an interesting issue which looks like a bug, but maybe there is some intention or justification behind the current behavior. Let's say that the following script is...
Issue #49 - Configures global table definitions through the interface `StructureMap` using module augmentation instead of using `zapatos/schema`. This approach is more modular, allows an arbitrary number of modules making...
A malicious user could send the following input. ```ts // A regular user is expected to send `{ id: '123' }` // Malicious user sends this req.body = { 'id"...
Solves issue #101
The following code should throw an error but does not. ```ts db.sql`select ${db.cols(['this_col_does_not_exist'])} from ${'mytable'};` ``` The problem is that `db.cols(): ColumnNames` is being assigned to `Parameter`, which accepts anything....
Issue #98
Perhaps I'm missing tis is the documentation, but I can't seem to figure out how to get zapatos to do what I'd like here. Consider the following example, where `Book`s...
I have seen it mentioned - but is there any serious thought to implementing reflect-metadata and decorators? The two use cases I would use them for are: 1.) Serialization/Deserialization of...