You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+12-13
Original file line number
Diff line number
Diff line change
@@ -122,24 +122,23 @@ employees.reverseEngineer()
122
122
123
123
The Collection class exposes the following methods:
124
124
125
-
1.[find()](collection.md#find) - retrieves records from the collection;
126
-
2.[findOne()](collection.md#findOne) - retrieves a single record from the collection;
127
-
3.[findStream()](collection.md#findStream) - retrieves records from the collection as a readable stream;
128
-
4.[count()](collection.md#count) - counts records in the collection;
129
-
5.[remove()](collection.md#remove) - removes records from the collection;
130
-
6.[insert()](collection.md#insert) - inserts record(s) to the collection;
131
-
7.[upsert()](collection.md#upsert) - upserts record(s) to the collection;
132
-
8.[upsert()](collection.md#upsert) - upserts record(s) to the collection;
133
-
9.[update()](https://github.com/jmike/naomi/blob/master/docs/table.md#set) - updates record(s) in the collection with the supplied payload.
125
+
1.[find()](https://github.com/jmike/naomi-docs/blob/master/collection.md#find) - retrieves records from the collection;
126
+
2.[findOne()](https://github.com/jmike/naomi-docs/blob/master/collection.md#findOne) - retrieves a single record from the collection;
127
+
3.[findStream()](https://github.com/jmike/naomi-docs/blob/master/collection.md#findStream) - retrieves records from the collection as a readable stream;
128
+
4.[count()](https://github.com/jmike/naomi-docs/blob/master/collection.md#count) - counts records in the collection;
129
+
5.[remove()](https://github.com/jmike/naomi-docs/blob/master/collection.md#remove) - removes records from the collection;
130
+
6.[insert()](https://github.com/jmike/naomi-docs/blob/master/collection.md#insert) - inserts record(s) to the collection;
131
+
7.[upsert()](https://github.com/jmike/naomi-docs/blob/master/collection.md#upsert) - upserts record(s) to the collection;
132
+
8.[update()](https://github.com/jmike/naomi-docs/blob/master/collection.md#update) - updates record(s) in the collection with the supplied payload.
134
133
135
134
Additional collection methods may exist depending on the database connector.
0 commit comments