Created
August 13, 2020 14:37
-
-
Save nmchenry01/47a9b6eb7b50c944e36433c0a0a51847 to your computer and use it in GitHub Desktop.
The company type definition example for "Prisma vs. TypeORM"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Company create | |
*/ | |
export type CompanyCreateArgs = { | |
/** | |
* Select specific fields to fetch from the Company | |
**/ | |
select?: CompanySelect | null | |
/** | |
* Choose, which related nodes to fetch as well. | |
**/ | |
include?: CompanyInclude | null | |
/** | |
* The data needed to create a Company. | |
**/ | |
data: CompanyCreateInput | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment