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
SQL = select * from t1 join t2 on (t1.column1 = t2.column1) where t1.column2 = t2.column2
select * from t1 join t2 on (t1.column1 = t2.column1) where t1.column2 = t2.column2
EXPECTED = DB::table('t1')->join('t2', 't1.column1', '=','t2.column1' )->whereRaw('t1.column2 = t2.column2')
DB::table('t1')->join('t2', 't1.column1', '=','t2.column1' )->whereRaw('t1.column2 = t2.column2')
RESULT = DB::table('t1')->where('t2.column2', '=', '')->get()
DB::table('t1')->where('t2.column2', '=', '')->get()
PHP Notice: Undefined index: value in E:\dev\laravel_test\sql-to-builder-master\src\Converter\WhereConverter.php on line 52
*This is a simplified version of a large query that I tried to convert
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SQL =
select * from t1 join t2 on (t1.column1 = t2.column1) where t1.column2 = t2.column2
EXPECTED =
DB::table('t1')->join('t2', 't1.column1', '=','t2.column1' )->whereRaw('t1.column2 = t2.column2')
RESULT =
DB::table('t1')->where('t2.column2', '=', '')->get()
*This is a simplified version of a large query that I tried to convert
The text was updated successfully, but these errors were encountered: