The Prisma client (or transaction client) instance
Entity / model name (e.g. 'User')
Optionalprovider: PrismaSqlProvider
The Prisma SQL provider (connector)
OptionalkeyColumns: readonly string[]
The resolved primary-key columns (defaults to ['id'])
OptionalcompoundKeyField: string
The compound-key field name, or undefined for scalar keys
A data source bound to the Prisma model
Creates a
DataSourcebacked by a Prisma client for the given entity name.Convention: entity name
'User'→ delegate accessed asclient.user(first letter lowercased). If the delegate is absent on the client, the error names the entity and the convention so the caller can fix the entity name.