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
var query = new Select().From<A>().InnerJoin<B>("afid","bid");
Generated sql:
SELECT ... FROM A,B INNER JOIN B ON afid = bid
A
B
afid
bid
Is Should be
"SELECT ... FROM A INNER JOIN B ON afid = bid"
So in MySqlGenerator.cs no need to override GenerateFromList Method.
At MySqlProvider.cs line 31 should be qualifiedFormat = String.IsNullOrEmpty(column.SchemaName) ? "{1}.{2}" : "{0}.{1}.{2}";
{1}
{2}
{0}
Now is : 27 public override string QualifyColumnName(IColumn column) 28 { 29 string qualifiedFormat; 30 31 qualifiedFormat = String.IsNullOrEmpty(column.SchemaName) ? "{2}" : "{0}.{1}.{2}"; 32 33 return String.Format(qualifiedFormat, column.Table.SchemaName, column.Table.Name, column.Name); 34 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
var query = new Select().From<A>().InnerJoin<B>("afid","bid");
Generated sql:
SELECT ... FROM
A
,B
INNER JOINB
ONafid
=bid
Is Should be
"SELECT ... FROM
A
INNER JOINB
ONafid
=bid
"So in MySqlGenerator.cs no need to override GenerateFromList Method.
At MySqlProvider.cs line 31 should be qualifiedFormat = String.IsNullOrEmpty(column.SchemaName) ? "
{1}
.{2}
" : "{0}
.{1}
.{2}
";Now is :
27 public override string QualifyColumnName(IColumn column)
28 {
29 string qualifiedFormat;
30
31 qualifiedFormat = String.IsNullOrEmpty(column.SchemaName) ? "
{2}
" : "{0}
.{1}
.{2}
";32
33 return String.Format(qualifiedFormat, column.Table.SchemaName, column.Table.Name, column.Name);
34 }
The text was updated successfully, but these errors were encountered: