X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fcsql.xml;h=f4944410282822326b347c3652938d440c5f78ab;hb=91eb9f3d1335fed9ee9e4644eacca2b97db30836;hp=4374d93d6bf91a45d10a1ef55d25fed7480acc35;hpb=a244caf265fff60cc9d00083e15951762dd7f1ca;p=clsql.git diff --git a/doc/csql.xml b/doc/csql.xml index 4374d93..f494441 100644 --- a/doc/csql.xml +++ b/doc/csql.xml @@ -294,11 +294,11 @@ mapped into a database). They would be defined as follows: - Another class option is :normalisedp, which signals - &clsql; to use a normalised schema for the mapping from slots to + Another class option is :normalizedp, which signals + &clsql; to use a normalized schema for the mapping from slots to &sql; columns. By default &clsql; includes all the slots of a parent class that map to &sql; columns into the child class. This option - tells &clsql; to normalise the schema, so that a join is done on the + tells &clsql; to normalize the schema, so that a join is done on the primary keys of the concerned tables to get a complete column set for the classes. For more information, see def-view-class. @@ -465,24 +465,24 @@ There are other :join-info options available in &clsql;, but we will save those till we get to the many-to-many relation examples. - - Object Oriented Class Relations - - -&clsql; provides an Object Oriented Data Definition Language, which -provides a mapping from &sql; tables to CLOS objects. By default class -inheritance is handled by including all the columns from parent -classes into the child class. This means your database schema becomes -very much denormalised. The class option :normalisedp -can be used to disable the default behaviour and have &clsql; -normalise the database schemas of inherited classes. - - - -See def-view-class -for more information. - - + + Object Oriented Class Relations + + + &clsql; provides an Object Oriented Data Definition Language, which + provides a mapping from &sql; tables to CLOS objects. By default class + inheritance is handled by including all the columns from parent + classes into the child class. This means your database schema becomes + very much denormalized. The class option :normalizedp + can be used to disable the default behaviour and have &clsql; + normalize the database schemas of inherited classes. + + + + See def-view-class + for more information. + +