MCPcopy Create free account
hub / github.com/Gelembjuk/oursql / parseConditionString

Method parseConditionString

node/dbquery/sqlparser/parser.go:460–570  ·  view source on GitHub ↗

parse condition details to columns. NOTE we don't care about logic if there are AND,OR,NOT . We don't need it at this place NOTE this function can not parse all condition operators, only basic >=|<=|<>|!=|=|>|< all operators aka: LIKE, NOT LIKE, IS, NOT IS are not recognized here. maybe in the futur

(conditionstring string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestConditionStringFunction · 0.95
parseConditionDetailsMethod · 0.95

Calls 2

cleanSQLValueMethod · 0.95
cleanSQLColumnNameMethod · 0.95

Tested by 1

TestConditionStringFunction · 0.76