Join Slack
Powered by
Hello, is there a way to do cross database foreign...
# prisma-whats-new
d
dzbo
12/15/2017, 1:17 PM
Hello, is there a way to do cross database foreign keys? Iām building multi-database system and need to wire up between them.
a
agartha
12/15/2017, 3:23 PM
Sure, just use a
String
field for id's. My airbnb-example does that. See the types.graphql filed for the two services.
https://github.com/qewl/qewl-airbnb-example
d
dzbo
12/15/2017, 3:28 PM
Thanks
@agartha
looks like what I was searching for! š»
šš» 1
2
Views
Open in Slack
Previous
Next