You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
|
|
|
|
namespace SqlSugar.MySqlConnector
|
|
|
|
{
|
|
|
|
public class MySqlBuilder : SqlBuilderProvider
|
|
|
|
{
|
|
|
|
public override string SqlTranslationLeft { get { return "`"; } }
|
|
|
|
public override string SqlTranslationRight { get { return "`"; } }
|
|
|
|
public override string SqlDateNow
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return "sysdate()";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public override string FullSqlDateNow
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return "select sysdate()";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public override string GetUnionFomatSql(string sql)
|
|
|
|
{
|
|
|
|
return " ( " + sql + " ) ";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|