We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have problem with use distinct()
error in file DataTableQuery.php line 101 $value = $row->{$column->alias};
"Undefined property: stdClass::$f.firmname"
temporarily fixed it yes but i don't know if it's correct
$tmp = explode('.',$column->alias); if(count($tmp) == 2) { $column->alias = $tmp[1]; } $value = $row->{$column->alias};
my query to datatable is: $builder = $db->table('firms f') ->distinct() ->select('f.firmname, f.nip, f.pkd,f.id') ->where('f.deleted_at', NULL);
$builder = $db->table('firms f') ->distinct() ->select('f.firmname, f.nip, f.pkd,f.id') ->where('f.deleted_at', NULL);
my query has several joins so I use "firms f"
The text was updated successfully, but these errors were encountered:
sorry late reply, temporary you can use column alias to solve this, will fix later on next update. Thanks
Sorry, something went wrong.
No branches or pull requests
I have problem with use distinct()
error in file DataTableQuery.php line 101
$value = $row->{$column->alias};
"Undefined property: stdClass::$f.firmname"
temporarily fixed it yes but i don't know if it's correct
my query to datatable is:
$builder = $db->table('firms f') ->distinct() ->select('f.firmname, f.nip, f.pkd,f.id') ->where('f.deleted_at', NULL);
my query has several joins so I use "firms f"
The text was updated successfully, but these errors were encountered: