🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
5 lines
158 B
JavaScript
Executable File
5 lines
158 B
JavaScript
Executable File
'use strict';
|
|
|
|
module.exports = function whereBetween(key, values) {
|
|
return this.where(key, '>=', values[0]).where(key, '<=', values[values.length - 1]);
|
|
}; |