waterline
Advanced tools
Comparing version 0.9.4 to 0.9.5
@@ -111,3 +111,3 @@ /** | ||
// Example of using an instance method | ||
var fullName = user.firstName() | ||
var fullName = user.fullName() | ||
}); |
@@ -21,3 +21,3 @@ /** | ||
// Concat self.identity with args (must massage arguments into a proper array) | ||
var args = [self.identity].concat(Array.prototype.slice.call(arguments)); | ||
var args = [self.tableName].concat(Array.prototype.slice.call(arguments)); | ||
adapter[key].apply(self, args); | ||
@@ -24,0 +24,0 @@ }; |
{ | ||
"name": "waterline", | ||
"description": "An ORM for Node.js and the Sails framework", | ||
"version": "0.9.4", | ||
"version": "0.9.5", | ||
"contributors": [ | ||
@@ -22,3 +22,3 @@ { | ||
"async": "0.2.9", | ||
"anchor": "~0.9.4", | ||
"anchor": "~0.9.5", | ||
"q": "0.9.4" | ||
@@ -25,0 +25,0 @@ }, |
@@ -5,3 +5,3 @@ ![image_squidhome@2x.png](http://i.imgur.com/7rMxw.png) | ||
[![Build Status](https://travis-ci.org/balderdashy/waterline.png?branch=master)](https://travis-ci.org/balderdashy/waterline) | ||
[![Build Status](https://travis-ci.org/balderdashy/waterline.png?branch=master)](https://travis-ci.org/balderdashy/waterline) [![NPM version](https://badge.fury.io/js/waterline.png)](http://badge.fury.io/js/waterline) [![Dependency Status](https://gemnasium.com/balderdashy/waterline.png)](https://gemnasium.com/balderdashy/waterline) | ||
@@ -87,2 +87,4 @@ Waterline is a brand new kind of storage and retrieval engine. | ||
- `attributes` A hash of attributes to be defined for a model | ||
- `autoCreatedAt` and `autoUpdateddAt` Set false to prevent creating `createdAt` and `updatedAt` properties in your model | ||
- `autoPK` Set false to prevent creating `id`. By default `id` will be created as index with auto increment | ||
- [lifecyle callbacks](#lifecycle-callbacks) | ||
@@ -89,0 +91,0 @@ - anyother class method you define! |
265868
442
Updatedanchor@~0.9.5