You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sqlengine.go
    path of file: ./repos/faygo/ext/db/directsql
    
    the code of the file until where you have to start completion: /**
* func   : 动态SQL执行引擎
* author : 畅雨参数校验函数
* date   : 2016.06.13
* desc   : 关联关系全部通Id进行关联
* history :

		 -2018.12.18
		    -配置参数增加，批量SQL的事务处理：全部一个事务还是分开不同的事务中。
         - 2017.03.22
			-增加两种类型的sql，处理二进制对象保存到数据库和从数据库获取：
         	 ST_GETBLOB  //10 获取BLOB (binary large object)，二进制大对象从数据库
	         ST_SETBLOB  //11 保存BLOB (binary large object)，二进制大对象到数据库
         -2016.11.20 将执行sql的e
    
func (m *TModel) bacthExecMap(se *TSql, sp []map[string]interface{}) error {
	faygo.Debug("BacthExecMap parameters :", sp)
	return transact(m.DB, func(tx *core.Tx) error {
		for _, p := range sp {
			////////////////////////////////
			//循環每個sql定義
			for _, cmd := range se.Cmds {
				faygo.Debug("BacthExecMap sql:" + cmd.Sql)
				_, err := tx.ExecMap(cmd.Sql, &p)
				if err != nil {
					return err
				}
			}
			////////////////////////////////////
		}
		return nil
	})
}*/