Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions QueryBuilder/Compilers/OracleCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public OracleCompiler()

public override string EngineCode { get; } = EngineCodes.Oracle;
public bool UseLegacyPagination { get; set; } = false;
public bool UseUppercaseColumnName { get; set; } = false;
protected override string SingleRowDummyTableName => "DUAL";

protected override SqlResult CompileSelectQuery(Query query)
Expand Down Expand Up @@ -152,5 +153,12 @@ protected override string CompileBasicDateCondition(SqlResult ctx, BasicDateCond
return sql;

}

public override string Wrap(string value)
{
return UseUppercaseColumnName
? base.Wrap(value.ToUpperInvariant())
: base.Wrap(value);
}
}
}