Join Slack
Powered by
i'm creating a datetime field, is there a way to d...
# prisma-whats-new
c
claym
07/16/2017, 5:45 PM
i'm creating a datetime field, is there a way to default the value to the time the record is created?
n
nilan
07/16/2017, 5:46 PM
you can define a function for the
TRANSFORM_ARGUMENT
step of the mutation
nilan
07/16/2017, 5:46 PM
that does this
c
claym
07/16/2017, 5:47 PM
ah, so there's no "sysdate" equivalent?
n
nilan
07/16/2017, 5:47 PM
I don't know what
sysdate
is. But no, there is not 😄
Open in Slack
Previous
Next