Author: |
Compassion CH |
License: |
AGPL-3 |
Branch: |
translation-platform |
Repository: |
CompassionCH/compassion-switzerland |
Languages: |
HTML (350, 81.0%),
and
Python (82, 19.0%) |
Other branches: |
10.0,
11.0,
12.0,
8.0,
9.0,
davidwul-patch-1,
davidwul-patch-2,
devel,
eicher31-patch-1,
revert-1050-crowdfunding_compassion-creation,
and
write-and-pray-journey |
Other repositories: |
Alaggaerion/compassion-switzerland,
Grazia976/compassion-switzerland,
HeerPhilippe/compassion-switzerland,
KCristi/compassion-modules,
MickSandoz/compassion-modules,
MickSandoz/compassion-switzerland,
Nooka10/compassion-switzerland,
Quillasp/compassion-switzerland,
Secheron/compassion-switzerland,
SylvainLosey/compassion-switzerland,
Theyiot/compassion-switzerland,
WithPrice/compassion-switzerland,
albertsh/compassion-switzerland,
c-meier/compassion-switzerland,
cmtCousteau/compassion-switzerland,
cokotracy/compassion-switzerland,
consultingerp/theme_crowdfunding,
davidZIVI/compassion-modules,
davidZIVI/compassion-switzerland,
davidwul/compassion-modules,
davidwul/compassion-switzerland,
ecino/compassion-switzerland,
eicher31/compassion-switzerland,
emgirardin/compassion-modules,
emgirardin/compassion-switzerland,
jklay/compassion-switzerland,
joblo-compassion/compassion-switzerland,
jonathantarabbia/compassion-switzerland,
josueBulle/compassion-switzerland,
maxime-beck/compassion-modules,
maxime-beck/compassion-switzerland,
nbornand/compassion-switzerland,
ndtran/compassion-modules,
ndtran/compassion-switzerland,
nfluckiger/compassion-switzerland,
quentingigon/compassion-switzerland,
samuel-fringeli/compassion-switzerland,
samybucher/compassion-switzerland,
simhayoz/compassion-switzerland,
steveferry/compassion-modules,
steveferry/compassion-switzerland,
suningwz/compassion-switzerland,
vidtsin/compassion-switzerland,
vwvw/compassion-switzerland,
and
wvmrtn/compassion-switzerland |
<h1 class="title">OpenERP MySQL Connector</h1>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/compassionCH/compassion-switzerland/tree/11.0/mysql_connector"><img alt="compassionCH/compassion-switzerland" src="https://img.shields.io/badge/github-compassionCH%2Fcompassion--switzerland-lightgray.png?logo=github" /></a></p>
<p>Utility module that enables other modules that depends on it to access a
MySQL server that is defined a settings screen.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#installation" id="id1">Installation</a></li>
<li><a class="reference internal" href="#usage" id="id2">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="installation"></a>
<h2><a class="toc-backref" href="#id1">Installation</a></h2>
<p>To install this module, you need to install dependencies:</p>
<ul class="simple">
<li>requires python-MySQLdb to be installed on the server.</li>
</ul>
<a name="usage"></a>
<h2><a class="toc-backref" href="#id2">Usage</a></h2>
<p>You can use this module directly from code:</p>
<ul class="simple">
<li>from mysql_connector.model.mysql_connector import mysql_connector</li>
<li>con = mysql_connector()</li>
<li>res_query = mysql_connector.select_all(sql, args)</li>
<li>mysql_connector.upsert(table, vals)</li>
</ul>
<p>See file mysql_connector.py for all supported methods. You can as well
inherit to expand the functionalities.</p>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/compassionCH/compassion-switzerland/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/compassionCH/compassion-switzerland/issues/new?body=module:%20mysql_connector%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id4">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id5">Authors</a></h3>
<ul class="simple">
<li>Compassion CH</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id6">Contributors</a></h3>
<ul class="simple">
<li>Emanuel Cino <<a class="reference external" href="mailto:ecino@compassion.ch">ecino@compassion.ch</a>></li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id7">Maintainers</a></h3>
<p>This module is maintained by Compassion Switzerland.</p>
<a class="reference external image-reference" href="https://www.compassion.ch"><img alt="Compassion Switzerland" src="https://upload.wikimedia.org/wikipedia/en/8/83/CompassionInternationalLogo.png" /></a>
<p>Compassion Switzerland is a nonprofit organization whose
mission is to release children from extreme poverty in Jesus name.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/compassionCH/compassion-switzerland/tree/11.0/mysql_connector">compassionCH/compassion-switzerland</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>