Documentation ¶
Overview ¶
功能:pongo2模板数据库访问函数 日期:2017.01.06
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SimpleData ¶
tpl {% for o in SimpleData("biz/demo","selecttpl","{`para`:`我是sql参数值`}") %} <p>名称:{{ o.cnname }}</p> {% endfor %}
单个查询 参数 map[string]interface{} 返回 []map[string]interface{}
func SimpleData2 ¶
单个查询 参数 map[string]interface{} 返回 []map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.