sql-soar
Version:
A SQL build and query tool for node.js.
142 lines (85 loc) • 3.3 kB
Markdown
1.3.7
=====
+ No longer cache the generated SQL statements. The original SQL resue rule does not fully qualify all possible query conditions.
1.3.5
=====
+ The total count of a pagination list query will not be cached any more. Such caching could return wrong entry count.
1.3.4
=====
+ Fixed a bug which would case paging error when there is no data.
1.3.2
=====
+ Changed the list count query as suggested by mySql.
1.3.1
=====
+ Fixed a minor bug which would fail with the higher versions of nodes.
1.3.0
=====
+ Rewriting codes without changing functionalities.
1.2.4
=====
+ Minor bug fix
1.2.3
=====
+ Databases can be referred by its alias.
+ The SQL command has been further simplified.
+ The syntax of table join in the SQL expression is also simplified.
1.2.2
=====
+ Fixed a bug of the returning total rows when doing pagination.
1.2.1
=====
+ Some minor bug fixes.
1.2.0
=====
+ Supported "stored SQL expressions". Commonly used SQL expressions can be stored as files so they don't have to be rebuilt every time.
+ Closed down the old connection pools if soar is being re-configured.
+ Fixed the problem that some test cases did not release connections.
1.1.7
=====
+ Bug fix: when doing list query with paging, the total count will always be refreshed.
1.1.6
=====
+ When a list query is requested in "page" mode, the totol count returned may be wrong due to "JOIN" clause. The bug is fixed.
+ The runSql() method did not release connection properly. It's also fixed in this release.
1.1.5
=====
+ Both "table AS alias" or "table alias" would work.
1.1.4
=====
+ Support the IN clause.
+ Rewrite the testQuery test case with the new syntax.
1.1.3
=====
+ Bug fix of the runSql() method. If no database connections or database names are given, the previous version would fail to execute.
1.1.2
=====
+ Added the runSql() method to run SQL statements directly when necessary.
1.1.1
=====
+ Fixed a bug which would cause "date" objects unable to be written to db tables.
1.1.0
=====
+ If you use SQL expressions to do query, part of the generated SQL statements will be cached to give better performance.
+ When you do pagination, total of 2 queries will be issued: one to retrieve the actual data and the other one to get the total count. In the new release, the total count of a query will be cached for future use. You can force sql-soar to renew the count by setting "refresh" to ture in the soar command.
1.0.5
=====
+ Allowing SQL expressions built for table joins can be applied to insert, update and delete as well.
+ Added test cases to verify the new feature.
1.0.4
=====
+ When table columns are not specified in the update or delete operations, the prvious version could inlucde not updated columns and try to set their values to "undefined". This bug has been fixed.
1.0.3
=====
+ Supported query objects as a way of specifying query conditions.
+ Added a [document](https://github.com/benlue/sql-soar/blob/master/doc/QueryObject.md) to describe what is a query object.
1.0.2
=====
+ Pagination supported. Besides returning a page-load of data, **soar** will also return the total count of the query.
1.0.1
=====
+ Fixed a bug in update.
+ Added a test case to verify the bug fix.
1.0.0
=====
+ Officially released