Commit efe8d2eb authored by lsymds's avatar lsymds

Fix SqlBuilder.OrWhere method which was actually yielding an 'AND WHERE' statement.

parent bffb0972
......@@ -143,7 +143,7 @@ public SqlBuilder Where(string sql, dynamic parameters = null)
public SqlBuilder OrWhere(string sql, dynamic parameters = null)
{
AddClause("where", sql, parameters, " AND ", "WHERE ", "\n", true);
AddClause("where", sql, parameters, " OR ", "WHERE ", "\n", true);
return this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment