589
591
<div class="highlight-python"><div class="highlight"><pre><span class="n">engine</span> <span class="o">=</span> <span class="n">create_engine</span><span class="p">(</span><span class="s">"oracle+cx_oracle://dsn"</span><span class="p">,</span>
590
592
<span class="n">coerce_to_decimal</span><span class="o">=</span><span class="bp">False</span><span class="p">)</span></pre></div>
593
596
<p>Another alternative to performance is to use the
594
597
<a class="reference external" href="http://pypi.python.org/pypi/cdecimal/">cdecimal</a> library;
595
598
see <a class="reference internal" href="../core/types.html#sqlalchemy.types.Numeric" title="sqlalchemy.types.Numeric"><tt class="xref py py-class docutils literal"><span class="pre">Numeric</span></tt></a> for additional notes.</p>