Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By Corrected
Safari Books Online 3.2.1
1st code section

The third example of bound Metadata should be:

# Create an engine and then a bound MetaData
db2 = create_engine('sqlite:///test1.db')
bound_meta1 = MetaData(db2)

instead of:

# Create an engine and then a bound MetaData
db2 = MetaData('sqlite:///test1.db')
bound_meta1 = MetaData(db2)

Anonymous 
Printed Page 39
First code example

The first database instance is created as "db1" but it is latter referred to as "db". That is, one should read:
db1 = create_engine('sqlite://')
unbound_meta.bind = db1
instead of
db1 = create_engine('sqlite://')
unbound_meta.bind = db

Yannick Gingras 
Printed Page 56
2nd paragraph after "Create/drop MetaData and schema objects", last argument on page

The default for checkfirst in create_all()/drop_all() is True, not False. This is stated in the online-documentation of SQLAlchemy as well as in the book on page 26 last paragraph before "Perfoming Queries and Updates"

Anonymous