Christoph Dietrich
08/24/2021, 6:22 PMMischa
08/24/2021, 6:27 PMJaye
08/24/2021, 7:41 PMJames
08/24/2021, 9:40 PMmjyoung
08/24/2021, 10:24 PMCraig A. Cook
08/24/2021, 10:36 PMCraig A. Cook
08/24/2021, 10:37 PMCraig A. Cook
08/25/2021, 1:00 AMCraig A. Cook
08/25/2021, 1:10 AMAlexei Snisarenko
08/25/2021, 2:45 AMBrian
08/25/2021, 6:43 AMprisma.yml
file, how do I specify or get the prisma.sh
website URL my database would be hosted at?See Jee
08/25/2021, 8:40 AMconst found = await this.prisma.post.findFirst({
where: {
postUid,
},
});
Error
Invalid `prisma.post.findFirst()` invocation:
{
where: {
postUid: {
postUid: '4d69bcaa-f3b8-4cb9-a3f7-bf164a8bae99'
~~~~~~~~~~~
}
}
}
Unknown arg `postUid` in where.postUid.postUid for type StringFilter. Available args:
slucky
08/25/2021, 8:41 AMNicolas Sursock
08/25/2021, 8:45 AMimport160: 35794.5400390625 ms
App.js:114 35.795
App.js:104 import161: 35966.64892578125 ms
App.js:114 35.967
App.js:104 import162: 36198.051025390625 ms
App.js:114 36.198
`
start = Date.now();
console.time("import" + index);
await <http://axios.post|axios.post>(process.env.REACT_APP_API_URL + "/movies", {
movie,
});
console.timeEnd("import" + index);
end = Date.now();
numImported++;
Tarik Brat
08/25/2021, 9:15 AMBenjamin Kroeger
08/25/2021, 10:08 AMprisma migrate deploy
in your kubernetes environments?
I'm currently thinking init containers
might be the way to go - does it hurt to run prisma migrate deploy
whenever a pod is rescheduled?Peter Albert
08/25/2021, 11:02 AMCarlos Gomez
08/25/2021, 4:14 PMuser
08/25/2021, 4:29 PMBruno Casado
08/25/2021, 8:57 PMKunal Shah
08/25/2021, 8:59 PMManish
08/26/2021, 4:59 AMuser
08/26/2021, 9:04 AMdb push
Command to Sync our Schema With the Database
Blog Post: https://www.prisma.io/blog/fullstack-nextjs-graphql-prisma-oklidw1rhw
Code: https://github.com/m-abdelwahab/awesome-links
Learn more about Prisma:
◭ Website: https://www.prisma.io
◭ Docs: https://www.prisma.io/docs
◭ Quickstart: https://www.prisma.io/docs/getting-started/quickstart-typescriptTarik Brat
08/26/2021, 10:43 AMN/A
. Message: `error deserializing column 21: cannot convert between the Rust type core::option::Option<alloc::string::String>
and the Postgres type tsvector
Tarik Brat
08/26/2021, 12:46 PMnew
does not exist in the current database.`Mischa
08/26/2021, 1:37 PMBård
08/26/2021, 1:55 PMUnknown arg `distinct` in distinct for type AggregateSeed
My code:
const seeds = await prisma.seed.aggregate({
distinct: ['schoolKey'],
where: {
score: {
not: null,
},
},
_sum: {
score: true,
},
});
Peter Boomsma
08/26/2021, 4:14 PMremoveAllMovies: () => {
return prisma.movie.deleteMany({});
},
what would be the correct syntax in the schema to reflect this resolver?
type Mutation {
removeAllMovies()
}
obviously doesn't work ^^cedric
08/26/2021, 4:16 PM--create-only
migrate flag that does a dry run for schema migrations but i’m wondering if there’s also a --dont-delete-tables-you-dont-know-about-pretty-please
flag as well?cedric
08/26/2021, 4:20 PM