squid icon indicating copy to clipboard operation
squid copied to clipboard

🦑 Provides SQL tagged template strings and schema definition functions.

Results 16 squid issues
Sort by recently updated
recently updated
newest added

```js sql`insert into test_table ${spreadInsert({ array_column: ['a','b','c','d'], })}`; ``` Yields ```postgresql insert into "test_table" ("array_column") VALUES ($1, $2, $3, $4) ``` rather than joining and formatting the array value as...

Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.3.0 to 4.5.1. Release notes Sourced from normalize-url's releases. v4.5.0 Strip default MIME type and charset in data URLs (#100) 308909b https://github.com/sindresorhus/normalize-url/compare/v4.4.1...v4.5.0 v4.4.1 Fix data URL should...

dependencies

I've got some 64 bit IDs in my system that I've defined in my schema as a `Schema.number`. However, when I dump the objects out that are being returned from...

We use brands extensively in our code to make it easy to distinguish between different types of integers. For example: ``` type Brand = K & { __brand: T };...

enhancement

Is there an existing approach to supporting columns with names that don't match my objects? My database column names are in snake case, but my code is all camel case....

enhancement

If I have a WHERE clause to conditionally include in the query, it would be nice to do something like ```ts const whereClause = condition ? sql`name = ${name}` :...

enhancement

just like https://github.com/sweetiq/schemats or just use it.

enhancement

It seems as though there might be an issue with using squid + postguard when using postgres schemas, I would assume that when referencing tables in schemas one should use...

enhancement

Bumps [minimist](https://github.com/minimistjs/minimist) and [mkdirp](https://github.com/isaacs/node-mkdirp). These dependencies needed to be updated together. Updates `minimist` from 1.2.0 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option...

dependencies

Removes [cacheable-request](https://github.com/jaredwray/cacheable-request). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `cacheable-request` Updates `ava` from 2.3.0 to 5.2.0 Release notes Sourced from...

dependencies