# Source: https://mikro-orm.io/api/core/function/SerializedPrimaryKey.md

# SerializedPrimaryKey<!-- -->

### Callable

* ****SerializedPrimaryKey**\<T>(options): (target, propertyName) => any

***

* #### Parameters

  * ##### options: [SerializedPrimaryKeyOptions](https://mikro-orm.io/api/core/interface/SerializedPrimaryKeyOptions.md)\<T> = <!-- -->{}

  #### Returns (target, propertyName) => any

  * * **(target, propertyName): any

    - #### Parameters

      * ##### target: Partial\<any>
      * ##### propertyName: string

      #### Returns any