Select.with_hint() documentation flaw
Issue #3036
resolved
The documentation for Select.with_hint() method gives two Oracle examples with the "+ " included as the passed text argument, but sqlalchemy generates that part of the hint automatically.
So, contrary to the docs, using
select([mytable]).with_hint(mytable, "+ index(%(name)s ix_mytable)")
Actually renders:
SELECT /*+ + index(mytable ix_mytable) */
Docs should remove the leading "+ " in both places.
Comments (9)
-
repo owner -
reporter - attached 3036.patch
remove redundant "+ " from with_hint() documentation
-
reporter Hope a patch is as good as pull request...
-
repo owner - changed milestone to 0.9.7
-
repo owner - changed milestone to 0.9.8
-
repo owner - changed milestone to 0.9.7
-
repo owner - changed milestone to 0.9.8
-
repo owner - changed status to resolved
- apply patches to correct for + sign in with_hint() docs,
fixes
#3036
→ <<cset 3a6cdff88429>>
-
repo owner - apply patches to correct for + sign in with_hint() docs,
fixes
#3036
→ <<cset 702166dc1abf>>
- apply patches to correct for + sign in with_hint() docs,
fixes
- Log in to comment
ok just send a pullreq, no need for issues on tiny ones like these