mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 04:53:45 +08:00
Add Sqlfunc.CharIndex
This commit is contained in:
@@ -185,5 +185,10 @@ namespace SqlSugar
|
||||
{
|
||||
return "dbms_random.value";
|
||||
}
|
||||
|
||||
public override string CharIndex(MethodCallExpressionModel model)
|
||||
{
|
||||
return string.Format("instr ({0},{1},1,1) ", model.Args[0].MemberName, model.Args[1].MemberName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user