ride/cli-orm-elastic

Ride CLI的ORM Elastic命令

1.0.0 2016-10-14 10:42 UTC

This package is auto-updated.

Last update: 2024-09-12 23:46:42 UTC


README

此模块为Ride ORM的Elastic集成添加了各种CLI命令。

命令

orm elastic define

此命令将ORM模型映射到Elasticsearch所需的索引。

您需要在第一次实现此模块以及更改了集成到Elastic中的模型定义后运行此命令。

语法: orm elastic define

别名: oed

orm generate

此命令将现有的ORM条目索引到Elastic中

语法: orm elastic index [<model>]

  • <model>: 要索引的模型名称,省略以索引所有已启用Elastic的模型

别名: oei

相关模块

安装

您可以使用Composer安装此应用程序。

composer require ride/cli-orm-elastic