mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update 人大金仓 database
This commit is contained in:
parent
b62a38e12a
commit
e3007cd5d7
@ -237,9 +237,16 @@ namespace SqlSugar
|
||||
return "serial";
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region Methods
|
||||
|
||||
public override bool IsAnyTable(string tableName, bool isCache = true)
|
||||
{
|
||||
var sql = $"select count(*) from information_schema.tables where table_schema='public' and table_type='BASE TABLE' and UPPER(table_name)='{tableName.ToUpper()}'";
|
||||
return this.Context.Ado.GetInt(sql)>0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///by current connection string
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user