Realtime database only
- If you want to change query then search for this "this is your query to change"
Following points are remaing
- Add picture upload + retrive
- Orderby
- Pagination
- Records per page
- Records counting
- Loader - i think no need
- When new record added please record not clearing
Just name a class to your form and form submit to firebase
<script>
$('.firebaseajax').submit(function(e) {
e.preventDefault();
output = $.fn.formToFirebase(this,'no','no');
output.then(function(data) {
// handle success
console.log(data);
}).catch(e => {
// handle catch
console.log(e);
});
});
</script>
Check the file
Call the function
<script>
$.fn.firebaseToTable('.firebase-to-table');
</script>
Check the file
Call the function
<script>
$.fn.firebaseToDiv('.firebase-to-div');
</script>
step1) initilize
await new FirebaseTable('reviews');
step2) methods
limit()
orderByKey()
orderByValue()
where('column', 'operator', 'value')
step3) run query methods
count()
isExists()
get()