document mapper primary_key better, custom column properties

Issue #48 resolved
Mike Bayer repo owner created an issue

two more big ones that come on the list a lot, being able to do this:

   m =mapper(class, table, properties= 
     'foo':table.c.foocol
   })

to override column names, particularly when they want to make a setter/getter property around it, and this:

   m = mapper(class, table, primary_key = [table.c.col2](table.c.col1,)))

to specify custom primary key columns.

Comments (3)

  1. Log in to comment