mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update Core
This commit is contained in:
parent
b892b16b76
commit
8d3910df9b
@ -57,7 +57,7 @@ namespace SqlSugar
|
||||
result +=this.Context.SaveQueues(false);
|
||||
});
|
||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||
return objects.Length;
|
||||
result=objects.Length;
|
||||
return result;
|
||||
}
|
||||
public async Task<int> DefaultExecuteCommandAsync()
|
||||
@ -84,7 +84,7 @@ namespace SqlSugar
|
||||
this.Context.AddQueue("end");
|
||||
result += await this.Context.SaveQueuesAsync(false);
|
||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||
return objects.Length;
|
||||
result= objects.Length;
|
||||
return result;
|
||||
});
|
||||
return result;
|
||||
|
@ -23,5 +23,6 @@ namespace SqlSugar
|
||||
public int Scale { get; set; }
|
||||
public bool IsArray { get; set; }
|
||||
internal bool IsJson { get; set; }
|
||||
public bool? IsUnsigned { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,8 @@ namespace SqlSugar
|
||||
CASE WHEN is_nullable = 'YES'
|
||||
THEN true ELSE false END AS `IsNullable`,
|
||||
numeric_scale as Scale,
|
||||
numeric_scale as DecimalDigits
|
||||
numeric_scale as DecimalDigits,
|
||||
LOCATE( 'unsigned',COLUMN_type ) >0 as IsUnsigned
|
||||
FROM
|
||||
Information_schema.columns where TABLE_NAME='{0}' and TABLE_SCHEMA=(select database()) ORDER BY ordinal_position";
|
||||
return sql;
|
||||
|
Loading…
Reference in New Issue
Block a user