Update GetTypes

This commit is contained in:
sunkaixuan
2023-09-28 00:21:41 +08:00
parent 2f60fcd0e7
commit 84b1841bbe
2 changed files with 5 additions and 2 deletions

View File

@@ -269,9 +269,12 @@ namespace SqlSugar
#region Methods
public override List<string> GetDbTypes()
{
return this.Context.Ado.SqlQuery<string>(@"SELECT DISTINCT DATA_TYPE
var result = this.Context.Ado.SqlQuery<string>(@"SELECT DISTINCT DATA_TYPE
FROM DBA_TAB_COLUMNS
WHERE OWNER = user ");
result.Add("timestamp");
result.Add("timestamp");
return result.Distinct().ToList();
}
public override List<string> GetTriggerNames(string tableName)
{

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.107</version>
<version>5.1.4.108-preview20</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>