Version 2.6 of Zebra_Database

Avatar

Release Notes: The name of the "get_columns" method was changed to "get_table_columns", as it returned the number of columns in a given table. A new "get_columns" method was added, which takes as argument a resource and returns the number of columns in the given resource. Some clarifications in the documentation were also made.

    Other releases

    •  09 Apr 2012 21:23
    Avatar

      Release Notes: The select() method took arguments in a different order than specified in the documentation; note that this update made the select() method backward incompatible, and that you will have to change the order of the arguments for this to work. Some bugs with the update() and insert_update() methods have been fixed. A bug that most likely appeared since 2.7 with the "seek" method (and any method relying on it, like all the “fetch” methods) has been fixed. A bug where NULL could not be used in the "replacements" array of a query has been fixed.

      •  08 Jan 2012 00:34
      Avatar

        Release Notes: This release adds support for caching query results using memcache, fixes a bug which caused the script to crash if the object was instantiated more than once and the language method was called for each of the instances, completely rewrites the dlookup method, which was not working correctly if anything other than a comma-separated list of column names was used (like an expression, for example), and lets the "connect" method take an additional argument instructing it to connect to the database right away rather than using a "lazy" connection.

        •  04 Sep 2011 07:36
        Avatar

          Release Notes: The name of the "get_columns" method was changed to "get_table_columns", as it returned the number of columns in a given table. A new "get_columns" method was added, which takes as argument a resource and returns the number of columns in the given resource. Some clarifications in the documentation were also made.

          •  02 Jul 2011 05:19
          Avatar

            Release Notes: This released added a "get_link" method, which returns the MySQL link identifier associated with the current connection to the MySQL server. This is necessary because the library uses "lazy connection", so there is no link identifier available when calling the connect method. The insert and insert_bulk methods have a new argument for creating INSERT IGNORE queries which will skip records that would cause a duplicate entry for a primary key. The default value of the "debug" property was set to FALSE.

            •  20 Jun 2011 07:07
            Avatar

              Release Notes: A bug was fixed in the insert_bulk method. A new method was added, called table_exists, which checks to see if a table with the name given as argument exists in the database. The select method now also accepts limit and order arguments; due to this change, this method is not compatible with previous versions. Some documentation refinements were made.

              Screenshot

              Project Spotlight

              ctioga2

              A polymorphic plotting program.

              Screenshot

              Project Spotlight

              Lbzip2

              A parallel, SMP-based, bzip2-compatible compression utility.