Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
701 stars 145 forks source link

quals is not adequately documented #165

Open rbiro opened 8 years ago

rbiro commented 8 years ago

The op in quals can be a tuple of (actual op, or) and values can be an array.

For example in translates to (u'=', True). I couldn't find this documented anywhere and only found one hit in Google. Fortunately, that one hit was enough to figure out what was going on.

(op, True) with values as a list means (field_name op value[0] or field_name op value[1] or ...) (op, False) with values as a list means (field_name op value[0] and field_name op value[1] and ...)