Page Contents
Home > @loopback/repository-tests > CrudFeatures > idType
CrudFeatures.idType property
What type is used for auto-generated primary keys? - SQL databases typically use auto-incremented numbers, - NoSQL databases tend to use GUID/UUID strings.
Default: 'string'
.
Signature:
idType: 'string' | 'number';