Skip to content

Commit

Permalink
docs update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Apr 26, 2015
1 parent 8419025 commit c4c7612
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ architecture this can only be achieved by using a promise factory, which is exac

```javascript
function txFactory(t, idx) {
// must return a promise based on the index;
// must create and return a promise object dynamically,
// based on the index of the sequence (parameter idx);
switch (idx) {
case 0:
return t.query("select 0");
Expand Down

0 comments on commit c4c7612

Please sign in to comment.