Permalink
Switch branches/tags
Nothing to show
Commits on Dec 30, 2011
  1. Fixed the case of values returned by the map function.

    anandology committed Dec 30, 2011
    When doing multiple insert, SQLAlchemy was inserting an empty row when
    rows is an empty list. Fixed this by not calling insert when there are
    no rows.
  2. Added support for order_by

    anandology committed Dec 30, 2011
  3. name "key" has special meaning in sqlalchemy. Using key_ as name of t…

    anandology committed Dec 30, 2011
    …he bindparam to avoid the clash.
Commits on Dec 9, 2011
  1. Update Readme.md

    anandology committed Dec 9, 2011
Commits on Nov 23, 2011
  1. Added view.c and view.select methods. #2

    anandology committed Nov 23, 2011
    view.c is shortcut for view.table.c and view.select is shortcut for view.table.select.
  2. Added .gitignore

    anandology committed Nov 23, 2011
  3. Improved the interface to create store.

    anandology committed Nov 23, 2011
    It is not possible to create store by just passing the db_url as
    argument.
    
        store = Datastore("sqlite:///store.db")
    
    And it is possible to subclass Datastore and define views.
    
        class BooksStore(Datastore):
            tablename = "books"
            def create_views(self):
                return {
                    "isbns": IsbnView()
                }
    
        store = BooksStore("sqlite:///books.db")
  4. Added JsonDataType column.

    anandology committed Nov 23, 2011
    JsonDataType is a custom SQLAlchemy column type that stores values as
    compressed JSON.
Commits on Oct 13, 2011
  1. Fixed a bug in updating already existing documents.

    anandology committed Oct 13, 2011
    The update query was created but not executed.
Commits on Sep 28, 2011
  1. Added Readme.

    anandology committed Sep 28, 2011
Commits on Sep 21, 2011
  1. Added setup.py

    anandology committed Sep 21, 2011
  2. fixes

    anandology committed Sep 21, 2011
  3. First working prototype.

    anandology committed Sep 21, 2011