Passing mysqli stmt errno along in exception
Merge pull request #12 from p-blomberg/master

Passing mysqli stmt errno along in exception
Improved error handling in query execution
Removing warning when asking for data on new object
Merge pull request #13 from p-blomberg/master

Improved error handling in query execution
Replacing HTML_ACCESS with $BasicObject_output_htmlspecialchars
Fixes #17 - broken example sql
Fixes #17 - broken example sql
Using static variable for output_htmlspecialchars instead of global
Adding some very simple test code
Fixing broken constant HTML_ACCESS
Merge pull request #16 from p-blomberg/master

Fixes issue #14: "Why should HTML_ACCESS be a constant?"
Throw exception on ambigious database relation
Fix invalid example, table_name should be static
Add support for functions in queries

example: array (
	'lower(name)' => 'foo'
)
Fix incorrect logic order in sql query

The previous order caused problems with two identical databases
(say production and development)
Merge pull request #20 from torandi/master

Exception on ambigious database relation and a bug in one example
Fix bug where @and removes existing wheres

Example:
array(
	'foo' => 1,
	'@and' => array(
		'bar' => 2,
		'baz' => 3
	)
)
Would give the query "bar = ? AND baz = ?"
 with params = [1, 2, 3]

Expected result would be "foo = ? AND ( bar = ? and baz = ? ) "
with params = [1, 2, 3].
Merge pull request #21 from torandi/and_subquery_bugfix

Fix bug where @and removes existing wheres