如何为D编程语言安装一个db绑定?

时间:2022-04-16 15:01:55

I tried installing several db apis in D 2.0, but the documentation is often either lacking or missing altogether.

我尝试在D 2.0中安装了几个db api,但是文档经常缺少或者完全丢失。

Does someone know more on the subject?

有人对这个问题了解得更多吗?

1 个解决方案

#1


3  

You can find list of database bindings for D at http://www.wikiservice.at/d/wiki.cgi?DatabaseBindings. If you find more information on the net, feel free to update the page.

您可以在http://www.wikiservice.at/d/wiki.cgi?DatabaseBindings中找到数据库绑定的列表。如果你在网上找到更多的信息,请随时更新页面。

Many Database APIs for D are in alpha/beta, discontinued and poorly documented. It may be because many database systems provides C interface, which D can call directly - and bindings (translated C header files) are enough for many task, even if not so nice to use (for one - they may require handling of return error codes instead of exceptions).

许多用于D的数据库api都在alpha/beta中,不再继续,而且文档也很少。这可能是因为许多数据库系统提供了C接口,而D可以直接调用——并且绑定(转换的C头文件)对于许多任务来说已经足够了,即使使用起来不是很好(例如,它们可能需要处理返回错误代码而不是异常)。

#1


3  

You can find list of database bindings for D at http://www.wikiservice.at/d/wiki.cgi?DatabaseBindings. If you find more information on the net, feel free to update the page.

您可以在http://www.wikiservice.at/d/wiki.cgi?DatabaseBindings中找到数据库绑定的列表。如果你在网上找到更多的信息,请随时更新页面。

Many Database APIs for D are in alpha/beta, discontinued and poorly documented. It may be because many database systems provides C interface, which D can call directly - and bindings (translated C header files) are enough for many task, even if not so nice to use (for one - they may require handling of return error codes instead of exceptions).

许多用于D的数据库api都在alpha/beta中,不再继续,而且文档也很少。这可能是因为许多数据库系统提供了C接口,而D可以直接调用——并且绑定(转换的C头文件)对于许多任务来说已经足够了,即使使用起来不是很好(例如,它们可能需要处理返回错误代码而不是异常)。