Essential SQLAlchemy by Rick Copeland

Essential SQLAlchemy by Rick Copeland

Author:Rick Copeland
Language: eng
Format: mobi, epub, pdf
Tags: Web, Computers, Python (Computer program language), Programming Languages, Electronic books, SQL (Computer program language), Software Development & Engineering, Database Management, Python, Site Design, COMPUTERS / Database Management / General, SQL, General, Web databases
ISBN: 9780596516147
Publisher: O'Reilly Media, Inc.
Published: 2008-02-15T01:22:10.254462+00:00


lazy=True

Specifies how related items should be loaded. The options are:

True (default)

Load items when the property is first accessed.

False

Load the items eagerly when the parent is fetched, using a JOIN or LEFT OUTER JOIN.

None

SQLAlchemy will never automatically load the related items. This is used for write-only properties or properties that are populated in some other way.

'dynamic'

Returns a Query object when reading the property and supports writes only through the append() and remove() methods. This option allows partial results to be fetched lazily. This option is mainly used in backrefs. To use dynamic loading on a forward relation, use the dynamic_loader() function in place of relation().



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.