constants specific to the sql storage portion of the orm size of each chunk for getiterator calls larger values are slightly faster at the expense of more storage space namedtuples for sql internal use how many results to expect from a cursor execute call sql join types size of each chunk for get_iterator calls larger values are slightly faster at the expense of more storage space namedtuples for sql internal use how many results to expect from a cursor execute call sql join types
GET_ITERATOR_CHUNK_SIZE = 100




MULTI = "multi"
SINGLE = "single"
CURSOR = "cursor"
NO_RESULTS = "no results"

ORDER_DIR = {
    "ASC": ("ASC", "DESC"),
    "DESC": ("DESC", "ASC"),
}


INNER = "INNER JOIN"
LOUTER = "LEFT OUTER JOIN"