atdatabases
atdatabases copied to clipboard
TypeScript clients for databases that prevent SQL Injection
To address #234 I've added a skeleton for a `limitOffset` next to `limit` that would pass in an offset value for `pg-typed` and `mysql-typed`. This probably still needs some work...
Postgres connections have an option to convert bigints to strings (bigIntMode): https://www.atdatabases.org/docs/pg-options SQLite needs the same -- otherwise 64bit integers are getting truncated.
I'm currently dumping sql databases tables using the queryNodeStream and im seeing inconsistent results (perhaps the 'end' chunk sent by the mysql2 driver isn't correctly being handled?) In anycase this...
Without the ability to add an offset it makes it hard to do paging.
In my sample code below, my `migrationsScript` is invoked without the `DATABASE_URL` environment variable being set. ```ts import pgSetup from '@databases/pg-test/jest/globalSetup'; import pgTeardown from '@databases/pg-test/jest/globalTeardown'; jest.setTimeout(15000); beforeAll(async () => {...
For AWS serverless Aurora accessed via lambda, the recommended way to talk to a db is via the [data api](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html). There's already a [client](https://www.npmjs.com/package/data-api-client) which is very close to the...
Bumps [next](https://github.com/vercel/next.js) from 10.0.9 to 12.1.0. Release notes Sourced from next's releases. v12.1.0 Core Changes Relay Support in Rust Compiler: #33702 fix eslint link-passhref rule: #33857 update webpack: #33831 Flush...
Module `@babel/code-frame` causes process is not defined in browser. https://github.com/ForbesLindesay/atdatabases/blob/master/packages/websql-core/src/Database.ts#L4 ![微信截图_20220225181332](https://user-images.githubusercontent.com/9401913/155697838-490d64db-e895-47f8-9f62-8a544146650e.png)
In #34 a new migration tool for PostgreSQL was proposed. How about MySQL and SQLite? Are you planning to work on this? How about a database independent tool? I'm happy...
Failed to parse source map from two modules in create-react-app project. ![微信截图_20220225174941](https://user-images.githubusercontent.com/9401913/155693872-8da1d4e3-446f-4613-a37e-15231612f6ee.png)