createSettingsRecord

@Modifying(clearAutomatically = true)
@Query(value = "INSERT INTO " + SETTINGS_KEY + "(" + IDENTIFIER_KEY + ")" + _VALUES_ + "(:" + IDENTIFIER_KEY + ")", nativeQuery = true)
abstract fun createSettingsRecord(@Param(value = "id") userId: String)

Query used to create the record for the settings of the user

Parameters

userId

The identifier of the user owner of the settings