🎨 Kernel API /api/query/sql
support ||
operator https://github.com/siyuan-note/siyuan/issues/9662
This commit is contained in:
parent
422b8fdecd
commit
b894c7b300
1 changed files with 2 additions and 1 deletions
|
@ -839,5 +839,6 @@ func GetContainerText(container *ast.Node) string {
|
|||
|
||||
func containsLimitClause(stmt string) bool {
|
||||
return strings.Contains(strings.ToLower(stmt), " limit ") ||
|
||||
strings.Contains(strings.ToLower(stmt), "\nlimit ")
|
||||
strings.Contains(strings.ToLower(stmt), "\nlimit ") ||
|
||||
strings.Contains(strings.ToLower(stmt), "\tlimit ")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue