반응형
remove ( onComplete ? : ( a : Error | null ) => void ) : Promise < void >
데이터베이스에 위치한 데이터를 지웁니다
Example
var adaRef = firebase.database().ref('users/ada');
adaRef.remove()
.then(function() {
console.log("Remove succeeded.")
})
.catch(function(error) {
console.log("Remove failed: " + error.message)
});LIST
'React-Native' 카테고리의 다른 글
| While trying to resolve module 'idb' from file….this package itself specifies a `main` module field that could not be resolved=>firebase 설치시 오류 (0) | 2022.08.23 |
|---|---|
| React-native 필수 navigation (0) | 2022.08.09 |
| Javascript map함수 (0) | 2022.07.30 |
| useful css for react native자주 사용하는 CSS (0) | 2022.07.28 |
| *딕셔너리 (0) | 2022.07.26 |