1. Éric Lemoine
  2. sqlalchemy

Commits

Show all
Author Commit Message Date Builds
Ants Aasma
added an example on how to share code between sql predicate construction and instance methods.
Mike Bayer
took out extra exception catch/raise SQLError in places where it would already be SQLError
Branches
rel_0_4
Mike Bayer
fixed bad import
Branches
rel_0_4
Mike Bayer
- all oracle testtypes pass in this rev
Branches
rel_0_4
Mike Bayer
- removed problematic generate_dbapi_typemap() method. its hardcoded just for oracle so far (which needs it the most).
Branches
rel_0_4
Mike Bayer
temporarily disabling genrated type_map which breaks all the othe rdialects
Branches
rel_0_4
Mike Bayer
- very rudimental support for OUT parameters added; use sql.outparam(name, type) to set up an OUT parameter, just like bindparam(); after execution, values are avaiable via result.out_parameters dictionary. [ticket:507] - dialect.get_type_map() apparently never worked, not sure why unit test seemed to work the first time around. - OracleText doesn't seem to return cx_oracle.LOB.
Branches
rel_0_4
jason kirtland
Um... "ImportError: No module named profile; please install the python-profiler package"
Branches
rel_0_4
Mike Bayer
- Compiled is just an object now. the ClauseVisitor portion is now specific to ANSICompiler.
Branches
rel_0_4
Mike Bayer
- fixed clause_element/expression_element change from preivous checkin - starting to add "out" params for oracle - implemented partial check for "rejoin on conflicting paths" for [ticket:687]
Branches
rel_0_4
ram
mssql and test changes from trunk
Branches
rel_0_4
Mike Bayer
added addresses table delete
Branches
rel_0_4
Mike Bayer
- added array slice support to row[<index>] [ticket:686]
Branches
rel_0_4
Mike Bayer
- fix to oracle table aliasing - added select.prefix_with(), adds arbitrary prefixes to a SELECT's columns clause, [ticket:504]
Branches
rel_0_4
Mike Bayer
- changed 'desired_columns' argument to 'include_columns' - made 'include_columns' an explicit argument to Table. I'm trying to avoid the "x can be a foo, or a bar, or a list of dictionaries of hoho's"-type behavior - added unit test, closes [ticket:561]
Branches
rel_0_4
Mike Bayer
- ANSICompiler now uses its own traversal when compiling, returning a composed string from each visit_XXXX method, so that the full string is compiled at once without using any dictionary storage. dialects modified accordingly. tested on mysql/sqlite/postgres fully, tested with string-only tests for oracle/fb/informix/mssql so far.
Branches
rel_0_4
Jonathan Ellis
"You can also specify a list or set of column names to autoload, if you only want to load a subset of the columns in the actual database." fixes #561
Branches
rel_0_4
Ants Aasma
fix up a docstring and some examples
Branches
rel_0_4
Mike Bayer
- removed the ridiculous AbstractDialect do-nothing class - fixup to docstrings
Branches
rel_0_4
Jonathan Ellis
typo fix (unbreak test suite)
Branches
rel_0_4
jason kirtland
Really finish proxied list methods. Either these last couple (count, remove, setitem w/ slice) weren't possible in 0.3 and/or I spaced these. Improved messaging on flubbed stepped slice assignment in collection decorators.
Branches
rel_0_4
Jonathan Ellis
add checks for well-formed ColumnProperty. fixes #683
Branches
rel_0_4
Jonathan Ellis
add __repr__ for engine, metadata, sqlsoup
Branches
rel_0_4
Jonathan Ellis
use sha instead of crypt to decrease suckage for windows users. also crypt kinda blows anyway
Branches
rel_0_4
Mike Bayer
- added unittest for sharding module - fixed shard test/example datatype to "Float" since Numeric behavior has changed - added docstrings to sqlalchemy/orm/__init__.py functions; still need to proof within generated HTML pages/fix errors - added engine.threadlocal to docs, removed old mods.threadlocal
Branches
rel_0_4
Mike Bayer
test graceful fallback to lazy loading for cyclical eager load with no join_depth
Branches
rel_0_4
Mike Bayer
- added has(), like any() but for scalars - added **kwargs to has() and any(), criterion is optional; generate equality criterion against the related table (since we know the related property when has() and any() are used), i.e. filter(Address.user.has(name='jack')) equivalent to filter(Address.user.has(User.name=='jack')) - added "from_joinpoint=False" arg to join()/outerjoin(). yes, I know join() is getting a little crazy, but this fla…
Branches
rel_0_4
Mike Bayer
renamed new scalar() method to as_scalar(), not deprecating normal ClauseElement.scalar()...
Branches
rel_0_4
Mike Bayer
restored Float's full constructor to play better with overriding types, i.e. mysql.MSFloat
Branches
rel_0_4
Mike Bayer
- deprecated scalar=True argument on select(). its replaced by select().scalar() which returns a _ScalarSelect object, that obeys the ColumnElement interface fully - removed _selectable() method. replaced with __selectable__() as an optional duck-typer; subclassing Selectable (without any __selectable__()) is equivalent - query._col_aggregate() was assuming bound metadata. ick ! - probably should deprecate ClauseElement.scalar(), in favor of ClauseElemen…
Branches
rel_0_4
  1. Prev
  2. Next