Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
more notes, docs
Tags
rel_0_1_4
Mike Bayer
tweak
Mike Bayer
added scalar subqueries within the column clause of another select
ash
Fix docstring and exception message in selectone_by
ash
Minor typo: encode and decode are methods.
ash
Fix typos, closing #89, #91, #92
Mike Bayer
added selectfirst_by/selectone_by, selectone throws exception if more than one row returned, courtesy J.Ellis
Mike Bayer
tweak to get_direction, rolls back a comparison of "foreigntable" to "parent"/"mapper" table to be more constrained. this change was originally in [changeset:1101] to help out the polymorph example but it now works without it. the change breaks the Post/Comment relationship in the ZBlog demo since the Post mapper has the comments table inside of it (also with no workaround).
Mike Bayer
caveat
Mike Bayer
oracle is requiring dictionary params to be in a clean dict, added conversion
Mike Bayer
small tweak to select in order to fix [ticket:112]...the exported columns when doing select on a select() will be the column names, not the keys. this is with selects that have use_labels=False. which makes sense since using the "key" and not the name implies a label has to be used.
Mike Bayer
tweak to mysql default test
Mike Bayer
refactor to Compiled.get_params() to return new ClauseParameters object, a more intelligent bind parameter dictionary that does type conversions late and preserves the unconverted value; used to fix mappers not comparing correct value in post-fetch [ticket:110]
Mike Bayer
added expire() function + unit test fixes [ticket:95]
Mike Bayer
utf-8 encoding is switchable at the engine level, ticket [ticket:101]
Mike Bayer
committed patch for MSDouble/tinyint from [ticket:106]
Mike Bayer
added exception import
Mike Bayer
HistoryArrayList checks internal list as a list or dict to clear it
Mike Bayer
overhaul to types system, decoupled base type and engine-specific type into a composed pattern instead of goofy inheritance....gets rid of TypeDecorator (now a no-op) and enables all inhertance
Mike Bayer
fixed assocaition example
Mike Bayer
added 'noninherited table' prop to mapper indicating the "lead" table, in the case of
Mike Bayer
a few tweaks to get table creates/reflection working
Mike Bayer
tweak to engine param..
Mike Bayer
added identity() method to mapper, to help get the primary key of an instance.
Mike Bayer
added check to relation that will see if the same table is included between the primaryjoin and secondaryjoin, and raises a descriptive exception if so.
Mike Bayer
serious overhaul to get eager loads to work inline with an inheriting mapper, when the inheritance/eager loads share the same table. mapper inheritance will also favor the columns from the child table over those of the parent table when assigning column values to object attributes. "correlated subqueries" require a flag "correlated=True" if they are in the FROM clause of another SELECT statement, and they want to be correlated. this flag is set by default when using an "exists" clause.
Mike Bayer
took erroneous 'count' off Alias
Mike Bayer
took excess visit_func out, handled by ansisql compiler
Mike Bayer
comment
Mike Bayer
backref() func will also honor lazy=True/False
  1. Prev
  2. Next