mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update MySql
This commit is contained in:
parent
87204a6f6c
commit
2e138209d8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user