issues Search Results · repo:planetscale/database-js language:TypeScript
Filter by
87 results
(83 ms)87 results
inplanetscale/database-js (press backspace or delete to remove)From MySQL docs for UNIX_TIMESTAMP(): The return value is an integer
typeof RESULT_FROM_UNIX_TIMESTAMP === string should be number
Simple Number(RESULT_FROM_UNIX_TIMESTAMP) should do the trick to parse ...
vBohu
- 4
- Opened 29 days ago
- #186
I am trying to catch exceptions when inserting duplicates that violate a UNIQUE constraint. Node prints the exception as
… caused DatabaseError: target: ….-.primary: vttablet: rpc error: code = AlreadyExists ...
twiddler
- 1
- Opened on Nov 18, 2024
- #185
I just started using the Planetscale serverless driver for JavaScript, but I m having a hard time understanding it. The
documentation explains the very basics but doesn t go into detail on any of the return ...
PeytonHanel
- 5
- Opened on Jul 18, 2024
- #180
Problem
I m having this error when running
await prisma.characterEducation.delete({
where: {
Character: {
userId: ctx.userId,
},
id: input.id,
...
zbeyens
- 1
- Opened on May 1, 2024
- #178
Right now, our release process is manual and a bit flawed.
Our internal steps have been:
npm version minor
git push --tags
npm publish
But this isn t great.
- it relies on being able to bypass branch ...
mattrobenolt
- Opened on Apr 29, 2024
- #177
In the following test suite, when using PlanetScaleDialect and receiving more than one row, what I expected to be
numbers is parsed as strings instead:
import { Kysely, MysqlDialect } from kysely ;
import ...
twiddler
- 15
- Opened on Apr 29, 2024
- #175
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function decimalsToString(field: Field, value: any) {
if (field.type === DECIMAL typeof value === string ) {
return value
} ...
OultimoCoder
- 2
- Opened on Apr 1, 2024
- #172
If a column has this data:
[ 1 , 5 , 11155111 , 42161 , 42170 , 43114 , 8453 , 56 , 7700 , 42220 , 250 , 10 , 137 , 1101 , 59144 , 1284 , 1285 , 534352 , 7777777 ]
And you upgrade to ...
ryespresso
- 12
- Opened on Mar 21, 2024
- #171
Before you think this is unrelated, the team maintaining this repo is the closest to this topic and is welcome to
comment: CF released Hyperdrive for connecting DB w/o the comm overhead, they say:
By ...
mostrecent
- 5
- Opened on Mar 10, 2024
- #170
I have a column (id_new) on a dev branch to test using UUID7 for PKs. When doing a SELECT query the UUIDs seem to be
being returned incorrectly.
Example Table
Column Name Datatype Collation PK
id ...
RedSpid3r
- 2
- Opened on Mar 7, 2024
- #169

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.