示例#1
0
func Exec(conn unsafe.Pointer, command string) unsafe.Pointer {
	res := C.PgExec(conn, C.CString(command))
	return res
}
示例#2
0
文件: pg.go 项目: runderwood/go-pg
func Exec(conn unsafe.Pointer, command string) *PgResults {
	res := new(PgResults)
	res.result = C.PgExec(conn, C.CString(command))
	res.row = 0
	return res
}