#2230: Placeholder ticket for Documents to check and update
--------------------------+-------------------------------------------------
Reporter: jorge.vargas | Owner:
Type: task | Status: new
Priority: highest | Milestone: 2.0b6
Component: TurboGears | Version: trunk
Severity: blocker | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by Kylotan):
I would like to see http://turbogears.org/2.0/docs/main/SQLAlchemy.html
updated to include a bit more detail along the lines of what is found in
http://docs.turbogears.org/1.0/GettingStarted/DefineDatabase,
specifically:
- short summary of available column types, and common keyword parameters
(eg. nullable, default)
- example of creating one-to-many relation between tables (eg. extend the
existing Movie example to show the relation between Director and Movie)
- example of many-to-many relation (eg. extend the Movie example to show
the relation between Movie and Actor)
- very basic query examples
- retrieving an object by primary key/id
- retrieving a list of objects filtered by a simple predicate
- retrieving associated objects in a one-to-many relationship via an
implicit join
- how to update an object (should be trivial, but still needs spelling
out)
- how to delete an object
All examples would ideally be in the declarative style if that is what is
generally recommended.
--
Ticket URL: <http://trac.turbogears.org/ticket/2230#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---