1 2 3 4 5 ··· 16 下一页
摘要: 优化方向 1.使用合适的索引:确保查询中涉及的字段有适当的索引。索引可以帮助数据库引擎快速定位和检索数据,提高查询效率。 2.避免使用通配符查询:尽量避免在查询条件中使用通配符 '%',因为这样的查询会导致全表扫描,影响性能。 3.避免使用函数:在查询条件中避免使用函数,尽量在字段上使用函数,因为函 阅读全文
posted @ 2024-06-05 11:58 Robot-Blog 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 布局图 Job Transformations Table input SELECT '内容' AS INFO FROM DUAL; Set variables Modified JavaScript value Set variables 2 Reference: Kettle 连接 Oracle 阅读全文
posted @ 2024-05-29 11:31 Robot-Blog 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 公式处理数字 正则处理字符串 对字段名:重命名,删除,修改字段类型 Reference: Kettle 连接 Oracle 使用手册 及 问题解决方案 阅读全文
posted @ 2024-05-29 11:19 Robot-Blog 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 布局图 Set variables JavaScript(循环逻辑) var min = new Number(parent_job.getVariable("MIN")); var max = new Number(parent_job.getVariable("MAX")); if(max >= 阅读全文
posted @ 2024-05-28 14:53 Robot-Blog 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Claims // 1.定义需要使用到的Claims var claims = new List<Claim> { new Claim("Name", "UserName"), new Claim(ClaimTypes.Role, "Admin"), new Claim(ClaimTypes.Rol 阅读全文
posted @ 2024-05-21 17:52 Robot-Blog 阅读(4) 评论(0) 推荐(0) 编辑
摘要: valueOf var a = { value: 1 , valueOf: function() { return this.value++; } } Symbol.toPrimitive var a = { value: 1 , get[Symbol.toPrimitive]() { return 阅读全文
posted @ 2024-05-17 15:10 Robot-Blog 阅读(1) 评论(0) 推荐(0) 编辑
摘要: AuthorizationWithCustMiddleware /// <summary> /// 自定义授权中间件类:使用 身份验证中间件 存储的身份信息来进行权限验证 /// 一定要先启用 身份验证中间件(app.UseAuthentication()),它会验证请求中的身份信息,并将身份信息存 阅读全文
posted @ 2024-05-10 17:30 Robot-Blog 阅读(23) 评论(0) 推荐(0) 编辑
摘要: Nuget <PackageReference Include="Hangfire.AspNetCore" Version="1.8.5" /> <PackageReference Include="Hangfire.Dashboard.BasicAuthorization" Version="1. 阅读全文
posted @ 2024-04-22 17:32 Robot-Blog 阅读(50) 评论(0) 推荐(0) 编辑
摘要: Nuget <PackageReference Include="NLog.Web.AspNetCore" Version="5.3.8" /> <PackageReference Include="NLog" Version="5.2.8" />install-package NLog -vers 阅读全文
posted @ 2024-03-28 13:44 Robot-Blog 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 背景:直接like查询匹配不到数据 SELECT 1WHERE '["List":[]}]' LIKE '%[]%' 解决方案: 1.用方括号([])处理特殊字符 SELECT 1WHERE '["List":[]}]' LIKE '%[[]]%' 2.用转义符:escape SELECT 1 WH 阅读全文
posted @ 2023-11-01 14:56 Robot-Blog 阅读(135) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 16 下一页