mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update MySql
This commit is contained in:
@@ -35,11 +35,11 @@ namespace OrmTest
|
||||
// new SqlSugarPerformance(100).Select();
|
||||
|
||||
/***Demo***/
|
||||
//OrmTest.Demo.Query.Init();
|
||||
// OrmTest.Demo.Query.Init();
|
||||
//OrmTest.Demo.Insert.Init();
|
||||
//OrmTest.Demo.Delete.Init();
|
||||
//OrmTest.Demo.Update.Init();
|
||||
OrmTest.Demo.DbFirst.Init();
|
||||
// OrmTest.Demo.DbFirst.Init();
|
||||
//OrmTest.Demo.JoinSql.Init();
|
||||
//OrmTest.Demo.Filter.Init();
|
||||
//OrmTest.Demo.ComplexModel.Init();
|
||||
|
@@ -26,7 +26,7 @@ namespace SqlSugar
|
||||
CASE WHEN is_nullable = 'YES'
|
||||
THEN true ELSE false END AS `IsNullable`
|
||||
FROM
|
||||
Information_schema.columns where TABLE_NAME='{0}' ORDER BY TABLE_NAME";
|
||||
Information_schema.columns where TABLE_NAME='{0}' and TABLE_SCHEMA=(select database()) ORDER BY TABLE_NAME";
|
||||
return sql;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user