Example #1
0
func Exec(conn unsafe.Pointer, command string) unsafe.Pointer {
	res := C.PgExec(conn, C.CString(command))
	return res
}
Example #2
0
func Exec(conn unsafe.Pointer, command string) *PgResults {
	res := new(PgResults)
	res.result = C.PgExec(conn, C.CString(command))
	res.row = 0
	return res
}