We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aac6bc commit 74b233aCopy full SHA for 74b233a
lib/modules/database/reference.js
@@ -264,8 +264,8 @@ export default class Reference extends ReferenceBase {
264
return new Disconnect(this);
265
}
266
267
- child(...paths: Array<string>) {
268
- return new Reference(this.db, this.path.concat(paths));
+ child(path: string) {
+ return new Reference(this.db, this.path.concat(path.split('/')));
269
270
271
toString(): string {
0 commit comments