mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-27 13:50:00 +03:00
catching up on lots of changes.
This commit is contained in:
parent
ca50fc2016
commit
5b816cb7e7
13 changed files with 1325 additions and 621 deletions
7
mysql.d
7
mysql.d
|
@ -325,6 +325,13 @@ class MySql : Database {
|
|||
}
|
||||
|
||||
|
||||
ResultByDataObject!R queryDataObjectWithCustomKeys(R = DataObject, T...)(string[string] keyMapping, string sql, T t) {
|
||||
sql = fixupSqlForDataObjectUse(sql, keyMapping);
|
||||
|
||||
auto magic = query(sql, t);
|
||||
return ResultByDataObject!R(cast(MySqlResult) magic, this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue