<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <h1 class="pudge-member-page-heading"> <tt>MixedCaseStyle</tt> </h1> <h4 class="pudge-member-page-subheading"> This style leaves columns as mixed-case, and uses long ID names (like ProductID instead of simply id). </h4> <p class="pudge-member-parent-link"> <small> The MixedCaseStyle class is accessible via the <a href="module-sqlobject.styles.html"> <tt>sqlobject.styles</tt> </a> module. </small> </p> <div id="pudge-section-nav"> <ul> <li> <span class="pudge-missing-section-link"> Attributes </span> </li><li> <a href="#methods" class="pudge-section-link"> Methods (13) </a> </li> <li> <a href="sqlobject/styles.py.html?f=92&l=110#92" class="pudge-section-link"> Source </a> </li> </ul> </div> <div style="clear: left"></div> <hr> <a name="methods"></a> <h2>Methods</h2> <div class="pudge-member routine alias"> <a name="__format__"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#__format__" class="pudge-obj-link">__format__</a>(...)</tt> <a href="__builtin__.py.html" title="View Source">...</a> </h4> <div class="pudge-section rst"> <p class="pudge-member-blurb"> default object formatter </p> </div> </div><div class="pudge-member routine alias"> <a name="__subclasshook__"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#__subclasshook__" class="pudge-obj-link">__subclasshook__</a>(...)</tt> <a href="None.html" title="View Source">...</a> </h4> <div class="pudge-section rst"> <p class="pudge-member-blurb"> Abstract classes can override this to customize issubclass(). </p> <p>This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).</p> </div> </div><div class="pudge-member routine alias"> <a name="__sizeof__"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#__sizeof__" class="pudge-obj-link">__sizeof__</a>(...)</tt> <a href="__builtin__.py.html" title="View Source">...</a> </h4> <div class="pudge-section rst"> <p class="pudge-member-blurb"> __sizeof__() -> int size of object in memory, in bytes </p> </div> </div><div class="pudge-member routine "> <a name="__init__"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#__init__" class="pudge-obj-link">__init__</a>(self, pythonAttrToDBColumn=None, dbColumnToPythonAttr=None, pythonClassToDBTable=None, dbTableToPythonClass=None, idForTable=None, longID=False)</tt> <a href="sqlobject/styles.py.html?f=15&l=32#15" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="pythonClassToDBTable"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#pythonClassToDBTable" class="pudge-obj-link">pythonClassToDBTable</a>(self, className)</tt> <a href="sqlobject/styles.py.html?f=39&l=41#39" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="idForTable"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#idForTable" class="pudge-obj-link">idForTable</a>(self, table)</tt> <a href="sqlobject/styles.py.html?f=45&l=50#45" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="pythonClassToAttr"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#pythonClassToAttr" class="pudge-obj-link">pythonClassToAttr</a>(self, className)</tt> <a href="sqlobject/styles.py.html?f=51&l=53#51" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="instanceAttrToIDAttr"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#instanceAttrToIDAttr" class="pudge-obj-link">instanceAttrToIDAttr</a>(self, attr)</tt> <a href="sqlobject/styles.py.html?f=54&l=56#54" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="instanceIDAttrToAttr"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#instanceIDAttrToAttr" class="pudge-obj-link">instanceIDAttrToAttr</a>(self, attr)</tt> <a href="sqlobject/styles.py.html?f=57&l=59#57" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="pythonAttrToDBColumn"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#pythonAttrToDBColumn" class="pudge-obj-link">pythonAttrToDBColumn</a>(self, attr)</tt> <a href="sqlobject/styles.py.html?f=99&l=101#99" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="dbColumnToPythonAttr"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#dbColumnToPythonAttr" class="pudge-obj-link">dbColumnToPythonAttr</a>(self, col)</tt> <a href="sqlobject/styles.py.html?f=102&l=104#102" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="dbTableToPythonClass"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#dbTableToPythonClass" class="pudge-obj-link">dbTableToPythonClass</a>(self, table)</tt> <a href="sqlobject/styles.py.html?f=105&l=107#105" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div><div class="pudge-member routine "> <a name="tableReference"></a> <h4 class="pudge-member-name"><span class="prefix">f</span> <tt><a href="class-sqlobject.styles.MixedCaseStyle.html#tableReference" class="pudge-obj-link">tableReference</a>(self, table)</tt> <a href="sqlobject/styles.py.html?f=108&l=110#108" title="View Source">...</a> </h4> <div class="pudge-section rst"> </div> </div> <p> <small> See <a href="sqlobject/styles.py.html?f=92&l=110#92" title="sqlobject/styles.py:92">the source</a> for more information. </small> </p>