[Sqlalchemy-tickets] Issue #3036: Select.with_hint() documentation flaw (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
|
From: Kent B. <iss...@bi...> - 2014-04-28 15:51:58
|
New issue 3036: Select.with_hint() documentation flaw https://bitbucket.org/zzzeek/sqlalchemy/issue/3036/selectwith_hint-documentation-flaw Kent Bower: 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 ``` #!python 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. |