mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-22 19:57:51 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -503,6 +503,14 @@ export default class Reference extends ReferenceBase {
|
||||
return `${this._database.databaseUrl}/${this.path}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a JSON-serializable representation of this object.
|
||||
* @returns {string}
|
||||
*/
|
||||
toJSON(): string {
|
||||
return this.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether another Reference represent the same location and are from the
|
||||
* same instance of firebase.app.App - multiple firebase apps not currently supported.
|
||||
|
||||
Reference in New Issue
Block a user