magmi - generic sql datasource 1.0.2 usage

◇◆丶佛笑我妖孽 提交于 2019-12-02 11:51:57

by dweeves:

Your SELECT has to be put in a .sql file in the directory listed in red. (name it as you want as long as it ends with .sql extension)

The "Initial Statements" is a field that is meant to hold the "connection" time statements (like SET NAMES 'UTF8').

For the "quick count" , you might also add a .sql.count file in the same dir with the same name that the request you want to achieve.

By default magmi will find the count using a

 SELECT COUNT(*) FROM (your request here)

see Generic SQL Datasource plugin documentation.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!