mysql-d 0.1.0

Mysql client C library binding.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Mysql.d

mysql library binding. Extraction from https://github.com/adamdruppe/arsd

Documentation is not ready yet


inport mysql.d;

MySql connection = new MySql("localhost", "root", "root", "mysql_d_testing");
connection.query("CREATE TABLE mysql_d_table (
    id INT NOT NULL AUTO_INCREMENT,
    name VARCHAR(100),
    date DATE,
    PRIMARY KEY (id)
);");

auto q_res3 = connection.query("show tables;");
assert(q_res3.length() == 1);
assert(q_res3.front()["Tables_in_mysql_d_testing"] == "mysql_d_table");

Authors:
  • Pavel Evstigneev
Dependencies:
none
Versions:
0.3.3 2016-Jul-28
0.3.2 2015-Sep-03
0.3.1 2015-Jan-10
0.3.0 2014-Aug-31
0.2.0 2014-Jul-01
Show all 7 versions
Download Stats:
  • 2 downloads today

  • 2 downloads this week

  • 2 downloads this month

  • 11473 downloads total

Score:
1.8
Short URL:
mysql-d.dub.pm