MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / processWhere

Function processWhere

eos/db/util.py:62–73  ·  view source on GitHub ↗
(clause, where)

Source from the content-addressed store, hash-verified

60
61
62def processWhere(clause, where):
63 if where is not None:
64 if not hasattr(where, "__iter__"):
65 where = (where,)
66
67 try:
68 for extraClause in where:
69 clause = and_(clause, extraClause)
70 except NotImplementedError:
71 clause = and_(clause, where)
72
73 return clause

Callers 5

getItemsByCategoryFunction · 0.90
getVariationsFunction · 0.90
getFitsWithShipFunction · 0.90
countFitsWithShipFunction · 0.90
searchFitsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected