mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 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 {
|
func containsLimitClause(stmt string) bool {
|
||||||
return strings.Contains(strings.ToLower(stmt), " limit ") ||
|
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
Add a link
Reference in a new issue