lp:mysql-python-api
- Get this branch:
- bzr branch lp:mysql-python-api
Branch information
Recent revisions
- 12. By Mats Kindahl
-
Altering library to use a more abstract Database concept, more advanced find
functions, and a more natural model for working with the data.The new Database concept represent a database that can be spread over several
servers and the notion of a server is eliminated. It is still possible to
connect to a single server, but in this case the database is then the contents
of the server. Going forward, the database can be spread over several server,
which is why this change was made.The find function now take an expression with variables. This allow more
complex operations to be handled such as comparisons for less than and greateer
than in a natural manner.The result of a find is now a finder object, which represent a set of rows. The
finder object then have methods to delete or update the elements that the finder
object matches. - 10. By Mats Kindahl
-
Reorganizing code so that we have a abstract database object to access the
database and each database also have a tenant where the data will be written.
The database may connect to one or more server under the hood, and the tenant
is typically a schema in the server. Going forward, the tenant will be a
"logical schema", but might in reality be spread over several servers. - 8. By Mats Kindahl
-
Fixing PyLint warning about use of magic * and ** (which is not necessary in
these particular cases). - 7. By Mats Kindahl
-
Moving library source into "lib" directory to avoid confusing Python when
running tests on package without installing it.Moving "execute" function to "Table" class since it references members only
available in "Table" class. - 5. By Mats Kindahl
-
Fixing unit test to use separate database 'test_api' instead of the default installed database 'test'.
- 4. By Mats Kindahl
-
- Removing auto-create functionality. Now use define to define a new table.
- Adding errors module to contain exceptions and adding exceptions.
- Adding tests to check new functionality.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)