Robert Herzog
12/02/2019, 3:14 PMhttps://www.dwpic.de/rh/RjughSAO4Lo1dlDKeUUP1tLpF5fz4c8Mij1FlRRdO0uqlSS4MoaybzgBGeWWMOcHVL5vnFu5XuiKCfuoRyIA8VWGPxKX9huzXMp4.png▾
Ejaz Ahmed
12/02/2019, 3:47 PMTomislav Stampfel
12/02/2019, 4:28 PMMatyas Furtos
12/03/2019, 6:30 AMRodion Artyukhin
12/03/2019, 3:31 PMAdam Howard
12/03/2019, 5:23 PMzliuwd
12/03/2019, 7:37 PMJames Mungai
12/03/2019, 8:49 PMcaptaindaylight
12/03/2019, 11:58 PMcreatedAt
when creating an item? I'm trying to create a session object that has a specific start time but it looks like the field name createdAt
is protected and you must use the @createdAt
directive with itSorin Cristea
12/04/2019, 7:02 AMAperrix
12/04/2019, 5:05 PMAperrix
12/04/2019, 5:14 PMGrace Zarczynska
12/04/2019, 8:46 PM[ [Object null Prototype] {Object}, [Object null Prototype] {Object} ]
Does anyone had a similar issue and how did you resolve it? The query is basically enrollments: [Enrollment!]!
and forwarded to dbGrace Zarczynska
12/04/2019, 8:48 PMawait db.query.enrollments({}, '{ id }')
Nesh
12/04/2019, 11:11 PMpancake
12/04/2019, 11:26 PMprisma
. Has anyone had success instantiating multiple databases in a single function? I'm attempting to write coupon values to a production & a preprod database concurrently... and continue to get the Ensure that there is only one instance of "graphql" in the node_modules
warning.Nesh
12/04/2019, 11:53 PMJeff
12/05/2019, 9:09 PMnode-schedule
or node-cron
,
import schedule = from 'node-schedule';
const j = schedule.scheduleJob('0 12 * * *', function(){
// query every item in the Postgres database at noon and process the comparison
});
The problem is, as the database grows, querying every single item everyday will become inefficient. Through my research, I found out you can use Postgres extension like pg-cron, but is there a way to achieve this in a more efficient manner with Prisma? Thank you.Pkmmte
12/07/2019, 12:52 AMChristoph Dietrich
12/07/2019, 11:43 PMGrace Zarczynska
12/08/2019, 11:35 AMScott Grunwald
12/08/2019, 3:49 PMMohammad Abed
12/08/2019, 9:19 PMMarcos (bounsel)
12/09/2019, 8:03 AMJovaanc
12/09/2019, 2:57 PMArny
12/09/2019, 5:26 PMDavid
12/10/2019, 7:05 AMCigoler
12/10/2019, 10:09 AMCigoler
12/10/2019, 10:22 AMCigoler
12/10/2019, 10:23 AM