文件名称:pony-mysql:libmysqlclient的小马绑定
文件大小:11KB
文件格式:ZIP
更新时间:2024-06-04 01:28:53
Pony
小马MySQL 这些是绑定。 绑定仅支持准备好的语句API。 用法如下: use " mysql " class MyNotify is Notify let _env: Env new create (env: Env ) => _env = env fun fail (err: Error ) => _env. out . print (err. method () + " failed: " + err. string ()) actor Main new create (env: Env ) => try let mysql = MySQL ( MyNotify (env)). tcp ( " host " , " user " , " pass " , " db " ) mysql ( CharsetName
【文件预览】:
pony-mysql-master
----result.pony(7KB)
----util.pony(137B)
----README.md(1KB)
----mysql.pony(4KB)
----test.pony(9KB)
----error.pony(444B)
----notify.pony(48B)
----Makefile(164B)
----option.pony(3KB)
----mypony.c(8KB)
----stmt.pony(3KB)