1c8fabd Refactoring the StringTemplateTraitTest, made all of the StringTemplateTrait methods public.
c3cc25e Renaming protected StringTemplateTrait::_formatStringTemplate to formatTemplate() and made it public. Fixed the file headers information and added _getTemplater() to get an instance of the template engine object.
353bd1a Add tests for BelongsToMany and HasMany saving.
26865ae Making test involving mocked transactions work again by making the transactional code in the drivers more robust. This will avoid thorowing expections when trying to commit or rollback a transaction that has not been started yet
a558c9a Fixing some failing tests, disabling one of them until we figure out why it makes other tests break
8c103b3 Implemented automatic identifier quoting for all drivers, this features can be both controlled by configuration and using the Driver API. This features is, nevertheless, very cpu expensive to have as a default, thus it needs to be explicitly enabled.
d1c3f57 Ghetto automatic identifier quoting, lots of broken tests but the idea works :)
ad0b31d Rename evaluateTimeSpan method to isWithinTimeSpan
7937b34 Refactoring lastInsertId. It never made sense to have the method in the connection object itself other than to mimic PDO. This enables users to get the last insertion id directly from the insert query statement, which is specially useful when using postgres as it will return the full row inserted, thus avoiding any posibility for race conditions and the hassle of having a map of sequences in the driver itself
74463fc Automatically adding RETURNING * to all insert queries generated by the postgres dirver. This will help significanlty in getting the correct las insert id regardless of the table or sequence used
af20284 Unit testing append in conjunction with delete
9bc5afd Unit testing append in combination with update
64f3eb1 Unit testing append when combined with insert
b67e133 Implementing Query::append(), which will be useful for setting extra options in certain queries, specifically for returning inserted values in postgresql
0ceb762 Removing code that was only meant to be used for showcasig how to do expressions translation, this code could be handy at a later point when SQLSever is implemented, so it can be copied from git history
feb5ebb Add shortcut accessors for `json` and `xml`
3ed2f2e A change that I might revert later: making comparissons expression objects instead of compiling them right away
af41f4e Only used the cached transformed query if the original one is not dirty
689ec86 Tons of changes required to modif transform a query to make it driver relevant, using postgres driver to implement a ROW_NUMBER() pagination, this will removed in the future and used in drivers like SQL server
fd5e002 Fixes h() to not return empty string when input contains invalid code unit requence. Fixes #3561
bddef48 Transforming the query before binding params too
86b579a A bit of refactoring for clarity... Did I mention that all tests pass for all implemented drivers? :)
01d4523 Implementing a basic Dialects system and a way for them to translate a query object to the target driver
ad713c3 Adding a new method to get any clause from the query Refactoring distinct so it is stored in the _parts array This commit makes all postgres tests pass, but will break the other drivers for the time being, next step: Driver builder functions
07ce3ec Using a more standard filed type to temporarily avoid building schema creation features :P
fc652e5 Almost fixed all tests so they pass in Postgres
ec566b3 Making it possible to use subqueries in a join clause. This commits means that it si now possible to use subquery in any part of the query where it is accepted, which was needed for drivers implementig T-SQL and that need to alter the original query for emulating limit and offset
dcd0c90 Revisiting joins to add aliases using the array key
49269b1 Initial implementation of a buffered statement class for those drivers that do not implement rowCount() correctly
f593b24 Extracting PDO driver functions into a trait, starting Sqlite driver
870973f Implemented lastinsertId and removed stub method "charset" from Connection. After some research concluded it was better to only set the charset at the beginning of connection and not change it on the fly.
0988256 Initial implementation of a buffered statement class for those drivers that do not implement rowCount() correctly
3097c1a Extracting PDO driver functions into a trait, starting Sqlite driver
ac1821a Implemented lastinsertId and removed stub method "charset" from Connection. After some research concluded it was better to only set the charset at the beginning of connection and not change it on the fly.