From 5671f6e051ddd155c75ca4c599f207a62669ffcb Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 4 Mar 2010 04:01:19 +0200 Subject: [PATCH] bumped version to 1.2 --- ChangeLog.txt | 28 ++++++++++++++++++++++++++++ litemysql.lib.php | 4 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index e793735..9f38e57 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,31 @@ +LiteMySQL 1.2 +----------------------------------- +Date: 4-Mar-2010 + +- Fixed two SQL-inject issues. + +- Fixed an issue with using the + primary-key option. + +- Fixed limit and offset options so + limit is usable without offset. + +- find_all() returns an empty array if + no records match conditions. + +- Conditions can now look for multiple + matching values. + + For Example: + find_all(array('id' => array(1,3))) + + Will create a WHERE statement that + looks like: + WHERE `id` IN(1,3) + +----------------------------------- + + LiteMySQL 1.1.2 ----------------------------------- Date: 25-May-2009 diff --git a/litemysql.lib.php b/litemysql.lib.php index d221784..30f10ce 100644 --- a/litemysql.lib.php +++ b/litemysql.lib.php @@ -2,8 +2,8 @@ /* - Class: LiteMySQL v1.1.2 - http://code.google.com/p/litemysql/ + LiteMySQL v1.2 + http://github.com/jimeh/litemysql Very light-weight and simple ORM-like MySQL library for PHP. Kind of like ActiveRecord's little brother.