sqlobject.tests.test_select module

class sqlobject.tests.test_select.Counter2(**kw)[source]

Bases: sqlobject.main.SQLObject

j = counter2
n1
n2
q = counter2
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'n1': <IntCol b350e24cL n1>, 'n2': <IntCol b350eaccL n2>}
columnList = [<SOIntCol n1 not null>, <SOIntCol n2 not null>]
columns = {'n1': <SOIntCol n1 not null>, 'n2': <SOIntCol n2 not null>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Counter2

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'counter2'
class sqlobject.tests.test_select.IterTest(**kw)[source]

Bases: sqlobject.main.SQLObject

j = iter_test
name
q = iter_test
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b356940cL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of IterTest

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'iter_test'
class sqlobject.tests.test_select.TestSelect[source]
accumulateEqual(func, counters, value)[source]
counterEqual(counters, value)[source]
setup_method(meth)[source]
test_1()[source]
test_2()[source]
class sqlobject.tests.test_select.UniqTest(**kw)[source]

Bases: sqlobject.main.SQLObject

classmethod byName(val, connection=None)
j = uniq_test
name
q = uniq_test
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b3658e8cL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of UniqTest

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'uniq_test'
sqlobject.tests.test_select.setupIter()[source]
sqlobject.tests.test_select.test_00_normal()[source]
sqlobject.tests.test_select.test_00b_lazy()[source]
sqlobject.tests.test_select.test_01_turn_to_list()[source]
sqlobject.tests.test_select.test_02_generator()[source]
sqlobject.tests.test_select.test_03_ranged_indexed()[source]
sqlobject.tests.test_select.test_04_indexed_ended_by_exception()[source]
sqlobject.tests.test_select.test_05_select_limit()[source]
sqlobject.tests.test_select.test_06_contains()[source]
sqlobject.tests.test_select.test_07_contains_special()[source]
sqlobject.tests.test_select.test_by_uniq()[source]
sqlobject.tests.test_select.test_selectBy()[source]
sqlobject.tests.test_select.test_selectBy_kwargs()[source]
sqlobject.tests.test_select.test_select_LIKE()[source]
sqlobject.tests.test_select.test_select_RLIKE()[source]
sqlobject.tests.test_select.test_select_getOne()[source]
sqlobject.tests.test_select.test_select_perConnection()[source]
sqlobject.tests.test_select.test_select_sqlbuilder()[source]