-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Storage #142
Comments
A simple way to use Qtfirebase Real-time data base is this
|
(But I still wonder if there is a way to use Qtfirebase Cloud Storage and what functions are unavailable for Real-time Database) |
Hi! Thanks for your interest!
Yes, I'm currently unaware of the status. Maybe @Furkanzmc can give you more information on the status. If it's abandoned you're welcome to contribute an implementation!
Correct. It need to be expanded further to cover the complete API. Pull requests are welcome! qtfirebasedatabase.cpp
26: m_db = db::Database::GetInstance(qFirebase->firebaseApp());
qtfirebasedatabase.h
67: firebase::database::Database* m_db;
192: firebase::database::DatabaseReference m_dbRef;
qtfirebasedatabase.cpp
10: , m_db(nullptr)
26: m_db = db::Database::GetInstance(qFirebase->firebaseApp());
230: m_dbRef = qFirebaseDatabase->m_db->GetReference().GetRoot();
234: m_dbRef = qFirebaseDatabase->m_db->GetReference().GetRoot().Child(path.toUtf8().constData());
244: m_pushChildKey = m_dbRef.PushChild().key();
255: firebase::Future<void> future = m_dbRef.RemoveValue();
268: m_dbRef = m_dbRef.Child(m_pushChildKey.toUtf8().constData());
270: firebase::Future<void> future = m_dbRef.SetValue(QtFirebaseService::fromQtVariant(value));
289: firebase::Future<firebase::database::DataSnapshot> future = m_dbRef.GetValue();
302: firebase::Future<void> future = qFirebaseDatabase->m_db->GetReference().UpdateChildren(vfb);
385: m_query.setQuery(m_dbRef.OrderByKey());
392: m_query.setQuery(m_dbRef.OrderByValue());
399: m_query.setQuery(m_dbRef.OrderByChild(path.toUtf8().constData()));
406: m_query.setQuery(m_dbRef.OrderByPriority());
413: m_query.setQuery(m_dbRef.StartAt(QtFirebaseService::fromQtVariant(order_value)));
421: m_query.setQuery(m_dbRef.StartAt(QtFirebaseService::fromQtVariant(order_value), child_key.toUtf8().constData()));
428: m_query.setQuery(m_dbRef.EndAt(QtFirebaseService::fromQtVariant(order_value)));
435: m_query.setQuery(m_dbRef.EndAt(QtFirebaseService::fromQtVariant(order_value), child_key.toUtf8().constData()));
442: m_query.setQuery(m_dbRef.EqualTo(QtFirebaseService::fromQtVariant(order_value)));
449: m_query.setQuery(m_dbRef.EqualTo(QtFirebaseService::fromQtVariant(order_value), child_key.toUtf8().constData()));
456: m_query.setQuery(m_dbRef.LimitToFirst(limit));
463: m_query.setQuery(m_dbRef.LimitToLast(limit)); So the API calls not available, are the ones missing from this list plus what's not present in qtfirebasedatabase.h. Thanks for the quick example - much obliged!
There is only a way to use Cloud Storage through |
@larpon Hello Larpon. |
@shariatraad no problem - thanks for showing your interest in the project! |
Is QtFirebase Cloud Storage still unavailable for c++? And I also noticed that real-time database is partially available. What functions are still not accessible?
The text was updated successfully, but these errors were encountered: