We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf38fe9 commit 436ff1dCopy full SHA for 436ff1d
src/NHibernate/Dialect/MySQLDialect.cs
@@ -316,6 +316,7 @@ protected virtual void RegisterFunctions()
316
RegisterFunction("year", new StandardSQLFunction("year", NHibernateUtil.Int32));
317
RegisterFunction("date", new StandardSQLFunction("date", NHibernateUtil.Date));
318
RegisterFunction("last_day", new StandardSQLFunction("last_day", NHibernateUtil.Date));
319
+ RegisterFunction("secondtruncated", new SQLFunctionTemplate(NHibernateUtil.Int32, "floor(second(?1))"));
320
}
321
322
/// <summary></summary>
0 commit comments