Skip to content

Commit

Permalink
Merge pull request C2FO#40 from doug-martin/master
Browse files Browse the repository at this point in the history
v 0.0.9
  • Loading branch information
doug-martin committed Aug 16, 2012
2 parents 6ccc14f + ff760ca commit a00ac15
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
11 changes: 11 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#0.0.9 / 2012/08/16
* Fixed bug where default that are buffers were not handle properly (#35)
* Fixed bug with inheritance loading
* Updated benchmark
* Changed `oneToMany` to load models when removing to call hooks
* New ColumnMapper plugin
* added alwaysQualify which will qualify a dataset every time sql is generated from it.
* converted model to use comb.serial instead of the promise chaining api
* changed reload of save and update to be invoked after post save and update have been called.
* Merged pull request from @mbenedettini to lazy initialize hive

#0.0.8 / 2012-07-13

* Updated Docs now using [coddoc](http://github.com/doug-martin/coddoc) for doc generation
Expand Down
2 changes: 1 addition & 1 deletion docs/patio_Database.html
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,7 @@ <h3>
}
index.push(table);
index = index.concat(columns.map(function (c) {
return comb.isString(c) ? c : this.literal(c).replace(/\W/g, &quot;_&quot;)
return comb.isString(c) ? c : this.literal(c).replace(/\W/g, &quot;&quot;)
}, this));
index.push(&quot;index&quot;);
return index.join(this._static.UNDERSCORE);
Expand Down
3 changes: 0 additions & 3 deletions lib/adapters/postgres.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,9 +772,6 @@ var DB = define(Database, {
filter = index.where || index.filter,
expr;
filter = filter ? ["WHERE ", this.__filterExpr(filter)].join("") : "";
cols = cols.map(function (c) {
return isString(c) ? identifier(c) : c;
});
if (isDefined(o)) {
expr = ["(", cols.map(function (c) {
return [this.literal(c), o].join(" ");
Expand Down
2 changes: 1 addition & 1 deletion lib/database/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ comb.define(null, {
}
index.push(table);
index = index.concat(columns.map(function (c) {
return comb.isString(c) ? c : this.literal(c).replace(/\W/g, "_")
return comb.isString(c) ? c : this.literal(c).replace(/\W/g, "")
}, this));
index.push("index");
return index.join(this._static.UNDERSCORE);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "patio",
"description": "Patio query engine and ORM",
"version": "0.0.8",
"version": "0.0.9",
"keywords" : ["ORM", "object relation mapper", "relational", "mapper", "moose","mysql", "MySQL", "MySql",
"SQL", "sql", "query", "database", "dataset", "transactions", "DDl", "Sequel", "migrations"],
"repository": {
Expand All @@ -15,7 +15,7 @@
{
"mysql" : "2.0.0-alpha2",
"pg" : "0.7.2",
"comb" : ">=0.1.2",
"comb" : ">=0.1.3",
"comb-proxy" : ">=0.0.2",
"hive-cache" : "0.0.2",
"commander" : "0.5.1"
Expand Down

0 comments on commit a00ac15

Please sign in to comment.