@weapnl/js-junction 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,5 +2,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v0.0.4
6
+ - Added support for whereNotIn.
7
+ - Reactive bugfix, private property.
8
+
9
+ ## v0.0.3
10
+ - Added ability to override the api instance on requests.
11
+ - Scopes & Wheres improvements.
12
+
5
13
  ## v0.0.1
6
14
  - Initial version.
package/README.md CHANGED
@@ -192,6 +192,7 @@ const request = await new User()
192
192
  .search('john doe') // Search for 'john doe', on the searchable columns of the model (defined in the API)
193
193
  .search('john doe', ['name', 'email']) // Search for 'john doe' in columns 'name' and 'email'
194
194
  .whereIn('city', ['Gemert', 'Eindhoven', 'Amsterdam']) // Set where in clause
195
+ .whereNotIn('city', ['Rotterdam', 'London']) // Set where not in clause
195
196
  .where('name', '=', 'John') // Add where clause
196
197
  .where('name', 'John') // If no operator is given, '=' is used
197
198
  .appends('age') // Add accessor