1"""
 2Constants specific to the SQL storage portion of the ORM.
 3"""
 4
 5# Size of each "chunk" for get_iterator calls.
 6# Larger values are slightly faster at the expense of more storage space.
 7GET_ITERATOR_CHUNK_SIZE = 100
 8
 9# How many results to expect from a cursor.execute call
10MULTI = "multi"
11SINGLE = "single"
12CURSOR = "cursor"
13NO_RESULTS = "no results"
14
15ORDER_DIR = {
16    "ASC": ("ASC", "DESC"),
17    "DESC": ("DESC", "ASC"),
18}
19
20# SQL join types.
21INNER = "INNER JOIN"
22LOUTER = "LEFT OUTER JOIN"