From 43cc0a451e0709f8d9fd9d54e15f5e263c04762b Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 16 Mar 2016 09:31:55 -0400 Subject: [PATCH] Update README with reference to old version docs --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 19cc883..5eaefcc 100755 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ A node query builder for various SQL databases, based on [CodeIgniter](http://ww [![NPM](https://nodei.co/npm/ci-node-query.png?downloads=true&downloadRank=true)](https://nodei.co/npm/ci-node-query/) +(Versions 3.x and below work differently. Their documentation is [here](https://git.timshomepage.net/timw4mail/node-query/tree/v3#README)) + ### Basic use ```javascript @@ -72,13 +74,13 @@ As of version 4, all adapters return a standard result object, which looks simil columnName1: value1, columnName2: value2, }], - + columns: ['column1', 'column2'], } ``` -In addition to the rows, and columns properties, -the result object has two methods, `rowCount` and `columnCount`. +In addition to the rows, and columns properties, +the result object has two methods, `rowCount` and `columnCount`. These methods return the number of rows and columns columns in the current result.