Dan
01/06/2021, 2:02 AMVille
01/06/2021, 10:35 AMSELECT * FROM somewhere;
queries. I wonder how it works in more advanced use cases and so on. I've read this: https://www.prisma.io/docs/about/limitations which is a great start but does not contain that much information.nikolasburk
Shubham Singh
01/06/2021, 10:10 PM{
a Int
b Int
c Int
sum Int
}
is there any way to calculate and assign this `sum as the value of a,b,c`without applying in node js like I see in nosql dataHarsh Makwana
01/07/2021, 9:37 AMtype _ProductToHighlight_ @db(_name:_ "_ProductToHighlight") @relationTable {
product: Product
highlight: Highlight
highlightStatus: HighlightStatus @default(_value:_ APPROVED)
}
Eden Lane
01/07/2021, 3:39 PMNatalia
Woodbury Shortridge
01/07/2021, 8:03 PMHarsh Makwana
01/08/2021, 6:25 AMDimasDhimek
01/08/2021, 12:25 PMChristian Strang
01/08/2021, 12:42 PMexecuteRaw
in my seed file?
`Raw query failed. Code: 0A000
. Message: `db error: ERROR: cannot truncate a table referenced in a foreign key constraint``Shubham Singh
01/08/2021, 3:42 PMpre
operation in the password etcBjörnstjerne Tiedemann
01/09/2021, 1:27 AMEden Lane
01/10/2021, 9:57 AMbasfl
01/10/2021, 9:52 PMbasfl
01/10/2021, 9:52 PM{
"data": {
"generateClusterToken": null
},
"errors": [
{
"message": "No cluster could be found for workspace '*' and cluster 'default'",
"locations": [
{
"line": 3,
"column": 9
}
],
"path": [
"generateClusterToken"
],
"code": 222
}
],
"status": 200
}
basfl
01/10/2021, 9:52 PMEddy Nguyen
01/11/2021, 12:58 AMKishan Das
01/11/2021, 5:31 AMJakubJiricka
01/11/2021, 9:49 AMAlexander Braunreuther
01/11/2021, 9:54 AMArgument id: Got invalid value 10 on prisma.updateOneUser. Provided Int, expected String.
when trying to update a entry an connect it's relation. Here you can find the schema and the update call. Am I doing something wrong?Brady
01/11/2021, 5:14 PMBen Liger
01/11/2021, 6:51 PMprisma-binding
in my backend along with graphql-yoga
and would like to migrate to either prisma-client
or nexus
- which ever one takes the least time to upgrade to! Which of the two would people recommend?Hari Demirev
01/11/2021, 8:42 PMfindMany
query, besides just using a raw query for the entire thing? Specifically looking to filter a date column by a computed value, query would look like:
where "startDatetime" - interval '1 minute' * "duration" > current_timestamp
JakubJiricka
01/12/2021, 8:09 AMBradly Locking
01/12/2021, 6:02 PMEden Lane
01/12/2021, 11:47 PMdatasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
is it possible to read url from file?
Something like
url = file("/path/to/file/")
Austin Paquette
01/13/2021, 2:34 AMstephen.pearl
01/13/2021, 2:44 PMSpencer Curry
01/13/2021, 4:13 PM