Skip to content

Commit 0b61053

Browse files
committed
from() method added as an alias for at() method
1 parent 39095f7 commit 0b61053

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ class JsonQuery {
8989
return this;
9090
}
9191

92+
from(path) {
93+
return this.at(path);
94+
}
95+
9296
_prepare() {
9397
if (this._queries.length > 0) {
9498
this._executeQueries();

0 commit comments

Comments
 (0)