Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    sqlamp 0.6

    Download button

    No screenshots available
    Downloads: 417  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Anton Gritsay | More programs
    BSD License / FREE
    January 14th, 2012, 02:55 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    sqlamp description

    An implementation of Materialized Path for SQLAlchemy

    sqlamp is an implementation of an efficient algorithm for working with hierarchical data structures --- Materialized Path. It uses (and depends of) SQLAlchemy.

    Materialized Path is a way to store (and fetch) a trees in a relational databases. It is the compromise between Nested Sets and Adjacency Relations in respect to simplicity and efficiency. Method was promoted by Vadim Tropashko in his book SQL Design Patterns. Vadim's description of the method can be read in his article Trees in SQL: Nested Sets and Materialized Path (by Vadim Tropashko).

    Implemented features:

    * Saving node roots --- if no parent set for node.
    * Saving child nodes --- if node has some parent. The whole dirty job of setting values in utility fields is done by sqlamp.
    * Fetching node's descendants, ancestors and children using the most efficient way available.
    * Autochecking exhaustion of tree size limits (maximum number of children and maximum nesting level) is done during session flush.
    * Rebuilding all trees and any subtree on the basis of Adjacency Relations.
    * Collapsing flat tree returned from query to recursive structure.

    Moving of nodes is not yet implemented.

    Known-to-work supported DBMS include sqlite (tested with 3.6.14), MySQL (tested using both MyISAM and InnoDB with server version 5.1.34) and PostgreSQL (tested with 8.3.7), but sqlamp should work with any other DBMS supported by SQLAlchemy.

    Project's Homepage:  http://sqlamp.angri.ru

    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    materialized path | Python library | SQLAlchemy | Python | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM