Skip to content

Easy-MySQL v3.7

Compare
Choose a tag to compare
@MaxAndolini MaxAndolini released this 24 Jun 23:40
· 3 commits to master since this release
e2f45a1

Bugs solved.
Added insert options. (Engine, Charset etc.)
Added Charset function in SQL::Connect.
Added Null or not null option in AddTableColumn.

SQL::Connect(const host[], const user[], const password[], const database[], const charset[] = "latin5", debugging = 0, port = 3306, bool:autoreconnect = true, pool_size = 2);

new handle = SQL::Open(SQL::CREATE, "database", "engine default InnoDB", -1, "charset default latin5");
SQL::AddTableColumn(handle, const field_name[], SQL::datatypes: type = SQL_TYPE_INT, maxlength = 11, bool:null = false, bool:auto_increment = false, bool:setprimary = false, bool:setindex = false)
SQL::Close(handle);