mirror of https://github.com/adamdruppe/arsd.git
make children take DBName into consideration
This commit is contained in:
parent
2a18bc805c
commit
598bb20ccd
|
@ -500,7 +500,7 @@ QueryBuilderHelper!(T[]) children(T, B)(B base) {
|
|||
// return QueryBuilderHelper!(T[])(toTableName(T.stringof)).where!(mixin(keyName ~ " => base.id"));
|
||||
|
||||
// changing mixin cuz of regression in dmd 2.088
|
||||
mixin("return QueryBuilderHelper!(T[])(toTableName(T.stringof)).where!("~keyName ~ " => base.id);");
|
||||
mixin("return QueryBuilderHelper!(T[])(tableNameFor!T()).where!("~keyName ~ " => base.id);");
|
||||
}
|
||||
|
||||
/++
|
||||
|
|
Loading…
Reference in New Issue