Ticket #4568: rdbms.xhtml.patch

File rdbms.xhtml.patch, 1.9 KB (added by jdb, 4 years ago)

Two fixes in the row.xhtml lore input.

  • doc/core/howto/row.xhtml

    diff --git a/doc/core/howto/row.xhtml b/doc/core/howto/row.xhtml
    index 46cc7f0..4fe1506 100644
    a b database, and slightly less suited to added database persistance 
    4141to an existing python application.</p> 
    4242 
    4343<p><em>If row does not fit your model, you will be best off using 
    44 the <a href="rdbms.xhtml">low-level database API</a> directly,  
    45 or writing your own object/relational layer on top of it.</em></p> 
     44the </em> <a href="rdbms.xhtml">low-level database API</a> <em> 
     45directly, or writing your own object/relational layer on top of 
     46it.</em></p> 
    4647 
    4748<h2>Class Definitions</h2> 
    4849 
    from being changed by mistake.</p> 
    181182<h2>Relationships Between Tables</h2> 
    182183 
    183184<p>Specifying a foreign key for a RowClass creates a relationship 
    184 between database tables. When <code 
    185 class="python">loadObjectsFrom</code> is called for a table, it will 
    186 automatically load all the children rows for the rows from the specified 
    187 table. The child rows will be put into a list member variable of the 
    188 rowObject instance with the name <code>childRows</code> or if a 
    189 <em>containerMethod</em> is specified for the foreign key relationship, 
    190 that method will be called on the parent row object for each row that is 
    191 being added to it as a child.</p> 
     185between database 
     186tables. When <code class="python">loadObjectsFrom</code> is called for 
     187a table, it will automatically load all the children rows for the rows 
     188from the specified table. The child rows will be put into a list 
     189member variable of the rowObject instance with the 
     190name <code>childRows</code> or if a <em>containerMethod</em> is 
     191specified for the foreign key relationship, that method will be called 
     192on the parent row object for each row that is being added to it as a 
     193child.</p> 
    192194 
    193195<p>The <em>autoLoad</em> member of the foreign key definition is a flag 
    194196that specifies whether child rows should be auto-loaded for that