Giter Site home page Giter Site logo

monetdb-python's Introduction

Get monetdb in source, build and install it.
Then build and install the MonetDB-clients.

To effectively use with django you'll need to patch
the MonetSQLdb package, so it doesn't seem to deal with
booleans. Neither does it give the lastrowid after inserting
stuff through a cursor.

This backend started it's life as the mySQL backend. I've just
hacked it to work with monetdb. There are probably still some
commands in it that are mySQL specific. If you need to change that
please send me a patch, I'll push it in.

Try it and give me a shout if you find any issues with it.


Binary files /Volumes/home/vb/repositories/MonetSQLdb/__init__.pyc and ./__init__.pyc differ
diff /Volumes/home/vb/repositories/MonetSQLdb/converters.py ./converters.py
120,125d119
< def Boolean2Str(x, d):
<     if x:
<         return 'TRUE'
<     else:
<         return 'FALSE'
< 
144d137
<     types.BooleanType: Boolean2Str,
Only in /Volumes/home/vb/repositories/MonetSQLdb: converters.pyc
diff /Volumes/home/vb/repositories/MonetSQLdb/cursors.py ./cursors.py
38d37
<         self.lastrowid = 0
82d80
< 
132,134d129
<         if self._result.lastid()>0:
<             self.lastrowid = self._result.lastid()
< 

monetdb-python's People

Contributors

vikram avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mbucc marcoq

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.