[英]Update Laravel Scout (Algolia) without database
I'm fetching data from Airtable and converting this to an Eloquent Model.我正在从 Airtable 获取数据并将其转换为 Eloquent 模型。
Is there a way to send this Model to Algolia without first storing it in a MySql DB?有没有办法将此模型发送到 Algolia 而无需先将其存储在 MySql DB 中?
try this command:试试这个命令:
php artisan scout:import "<your model path>"
eg php artisan scout:import "App\\Product"
例如
php artisan scout:import "App\\Product"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.