mux
04/19/2019, 2:57 PMJonathan
04/19/2019, 2:59 PMmux
04/19/2019, 2:59 PMmux
04/19/2019, 3:00 PMmux
04/19/2019, 3:04 PMJonathan
04/19/2019, 3:09 PMJonathan
04/19/2019, 3:10 PMmux
04/19/2019, 3:22 PMmux
04/19/2019, 3:22 PMJonathan
04/19/2019, 3:30 PMJonathan
04/19/2019, 3:31 PMmux
04/19/2019, 3:33 PMchrisbull
04/19/2019, 4:45 PM_admin
as well. Anyone figure out why?captaindaylight
04/19/2019, 5:08 PMBjoern
04/19/2019, 6:37 PMtype GeoJson {
id: ID! @id
coordinates: [Int] @scalarList(strategy: RELATION)
type: String!
}
How would the mutation to create a GeoJson look like?Bjoern
04/19/2019, 6:38 PMBjoern
04/19/2019, 6:39 PMJscott388
04/19/2019, 6:41 PMBjoern
04/19/2019, 6:41 PMmutation {
createGeoJson(data: {type: "Point" coordinates: [1, 4]}) {
id
}
}
Jonathan
04/19/2019, 6:54 PMSlackbot
04/19/2019, 6:56 PMdefrex
04/19/2019, 7:38 PMPORT
environment variable. This means I can't specify it directly in PRISMA_CONFIG
. Is there a standard solution for this? I can't seem to find a way. 😕defrex
04/19/2019, 7:39 PMdefrex
04/19/2019, 11:12 PMSaidy Barry
04/20/2019, 12:18 AMAndres Montoya
04/20/2019, 2:08 AMEnitan
04/20/2019, 11:38 AMEnitan
04/20/2019, 11:38 AMEcker
04/20/2019, 12:05 PMupsertMany
? As I have input of 20K entries where I don't know if it's update or insert. But a unique identifier is known, so should I first insert/create all the missing ID's then use updateMany
afterwards? – Any other techniques?Enitan
04/20/2019, 12:23 PMmutation CreateLocal {
createLocalUser(
data: {
email: "<mailto:example@mail.com|example@mail.com>"
password: "Welcome1"
user: { create: { firstName: "John", permissions: { set: USER } } }
}
) {
id
}
}