Skip to content

Commit

Permalink
Fix the default value of komapper.namingStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamura-to committed Aug 12, 2022
1 parent 017c698 commit 84bd2fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/Reference/annotation-processing.md
Expand Up @@ -98,7 +98,7 @@ lower_snake_case
UPPER_SNAKE_CASE
: This strategy converts entity class and property names to snake_case and then to UPPERCASE.

The default strategy is `implicit`.
The default strategy is `lower_snake_case`.

### komapper.metaObject

Expand Down
2 changes: 1 addition & 1 deletion content/ja/docs/Reference/annotation-processing.md
Expand Up @@ -80,7 +80,7 @@ ordinal

Kotlinのエンティクラスとプロパティからデータベースのテーブルとカラムの名前をどう解決するのかの戦略です。
値には`implicit``lower_snake_case``UPPER_SNAKE_CASE`のいずれかを選択できます。
デフォルト値は`implicit`です。
デフォルト値は`lower_snake_case`です。
解決されたデータベースのテーブルとカラムの名前は生成されるメタモデルのコードの中に含まれます。
なお、`@KomapperTable``@KomapperColumn`で名前が指定される場合この戦略で決定される名前よりも優先されます。

Expand Down

0 comments on commit 84bd2fc

Please sign in to comment.