diff --git a/README.md b/README.md index 5b4ada0347..bc480c03f9 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ npm run docs:preview ### Prerequisites -- `node` (version 18 or newer) - JavaScript runtime required by Vite/VitePress +- `node` (version 22 or newer) - JavaScript runtime required by Vite/VitePress - `npm` - Package manager (included with most Node.js installations) - `git` - Required to install `@cakephp/docs-skeleton` from GitHub diff --git a/docs/en/orm/behaviors.md b/docs/en/orm/behaviors.md index f6b576c6f5..93d51285d2 100644 --- a/docs/en/orm/behaviors.md +++ b/docs/en/orm/behaviors.md @@ -18,7 +18,7 @@ a perfect fit for. ## Using Behaviors - + ## Core Behaviors diff --git a/docs/en/orm/query-builder.md b/docs/en/orm/query-builder.md index 6b9a93d9af..bfefcb020d 100644 --- a/docs/en/orm/query-builder.md +++ b/docs/en/orm/query-builder.md @@ -1905,11 +1905,11 @@ data, you first need to setup associations between the tables as described in the [Associations - Linking Tables Together](../orm/associations) section. This technique of combining queries to fetch associated data from other tables is called **eager loading**. - + ### Filtering by Associated Data - + ### Adding Joins diff --git a/docs/en/orm/retrieving-data-and-resultsets.md b/docs/en/orm/retrieving-data-and-resultsets.md index 80660e3890..17b82233d7 100644 --- a/docs/en/orm/retrieving-data-and-resultsets.md +++ b/docs/en/orm/retrieving-data-and-resultsets.md @@ -525,7 +525,7 @@ By default, CakePHP does not load **any** associated data when using `find()`. You need to 'contain' or eager-load each association you want loaded in your results. - + Eager loading helps avoid many of the potential performance problems surrounding lazy-loading in an ORM. The queries generated by eager loading can @@ -739,13 +739,13 @@ $query->contain([ ]); ``` - + ## Filtering by Associated Data Via Matching And Joins - + A fairly common query case with associations is finding records 'matching' specific associated data. For example if you have 'Articles belongsToMany Tags' @@ -958,7 +958,7 @@ $query = $authorsTable This function will not load any columns from the specified associations into the result set. - + ## Changing Fetching Strategies diff --git a/docs/en/orm/table-objects.md b/docs/en/orm/table-objects.md index d778e6416d..7d3c0fcc3d 100644 --- a/docs/en/orm/table-objects.md +++ b/docs/en/orm/table-objects.md @@ -443,7 +443,7 @@ You can manage event priorities in one of a few ways: `method` Cake\\ORM\\Table::**addBehavior**(string $name, array $options = []): static - + Behaviors provide a way to create horizontally re-usable pieces of logic related to table classes. You may be wondering why behaviors are regular classes @@ -491,7 +491,7 @@ class ArticlesTable extends Table } ``` - + You can find out more about behaviors, including the behaviors provided by CakePHP in the chapter on [Behaviors](../orm/behaviors). diff --git a/docs/ja/orm/behaviors.md b/docs/ja/orm/behaviors.md index fd902bf4e6..e728b30139 100644 --- a/docs/ja/orm/behaviors.md +++ b/docs/ja/orm/behaviors.md @@ -12,7 +12,7 @@ ## ビヘイビアーの利用 - + ## コアビヘイビアー diff --git a/docs/ja/orm/query-builder.md b/docs/ja/orm/query-builder.md index f7d84372c7..3c88e03008 100644 --- a/docs/ja/orm/query-builder.md +++ b/docs/ja/orm/query-builder.md @@ -1258,11 +1258,11 @@ $query->cache(function ($q) { あるようにテーブル間の関連をセットアップしてください。他のテーブルから関連するデータを フェッチするためにクエリーを合成する技術を **イーガーロード** (eager load) といいます。 - + ### 関連付くデータでフィルターする - + ### Join を追加する diff --git a/docs/ja/orm/retrieving-data-and-resultsets.md b/docs/ja/orm/retrieving-data-and-resultsets.md index 1a825472ec..eb11562525 100644 --- a/docs/ja/orm/retrieving-data-and-resultsets.md +++ b/docs/ja/orm/retrieving-data-and-resultsets.md @@ -484,7 +484,7 @@ CakePHP は `find()` を使う際、デフォルトでは関連データを ** 結果の中にロードしたい各関連データは 'contain' で指定するか、イーガーロード (eager load) する必要があります。 - + イーガーロードは、ORM のレイジーロード (lazy load) 周辺に潜むパフォーマンス問題の多くを避けるのに役立ちます。 イーガーロードで生成されたクエリーは JOIN に影響を与えて、効率的なクエリーが作られるようになります。 @@ -678,11 +678,11 @@ $query->contain([ ]); ``` - + ### matching と joins を用いた関連データによるフィルタリング - + 関連データに関するクエリーでよくあるのは、指定の関連データに「マッチする (matching)」レコードを 見つけるものです。たとえば、 'Articles belongsToMany Tags' である場合、かなりの確率で、 @@ -856,7 +856,7 @@ $query = $authorsTable この関数は指定した関連からいずれのカラムも結果セットへとロードしません。 - + ## フェッチの戦略の変更する diff --git a/docs/ja/orm/table-objects.md b/docs/ja/orm/table-objects.md index 3c4b02cf1f..3c3249455c 100644 --- a/docs/ja/orm/table-objects.md +++ b/docs/ja/orm/table-objects.md @@ -397,7 +397,7 @@ public function beforeSave(EventInterface $event, EntityInterface $entity, Array `method` Cake\\ORM\\Table::**addBehavior**($name, array $options = []) - + ビヘイビアーは、テーブルクラスにまたがって関連するロジックの再利用可能な部品を作成する 簡単な方法を提供します。なぜビヘイビアーが通常のクラスで、トレイトではないのか @@ -444,7 +444,7 @@ class ArticlesTable extends Table } ``` - + CakePHP によって提供されるビヘイビアーを含む、ビヘイビアーに関する詳細は [ビヘイビアー](../orm/behaviors) の章をご覧ください。