Skip to content

Commit 9bbaa0f

Browse files
committed
added LEFT function to Firebird dialect
1 parent 0bf6e35 commit 9bbaa0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NHibernate/Dialect/FirebirdDialect.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
using NHibernate.Dialect.Schema;
77
using NHibernate.Engine;
88
using NHibernate.SqlCommand;
9+
using NHibernate.SqlTypes;
910
using NHibernate.Type;
1011
using Environment = NHibernate.Cfg.Environment;
11-
using NHibernate.SqlTypes;
1212

1313
namespace NHibernate.Dialect
1414
{
@@ -396,6 +396,7 @@ private void RegisterStringAndCharFunctions()
396396
RegisterFunction("substrlen", new StandardSQLFunction("substrlen", NHibernateUtil.Int16));
397397
RegisterFunction("locate", new PositionFunction());
398398
RegisterFunction("replace", new StandardSafeSQLFunction("replace", NHibernateUtil.String, 3));
399+
RegisterFunction("left", new StandardSQLFunction("left"));
399400
}
400401

401402
private void RegisterBlobFunctions()

0 commit comments

Comments
 (0)