Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Latest commit

 

History

History
72 lines (45 loc) · 2.7 KB

FAQ.md

File metadata and controls

72 lines (45 loc) · 2.7 KB

Frequently Asked Question

General

Is Lovefield production quality?

Yes. As of May 2016, Inbox by GMail heavily relies on Lovefield to perform complex client-side structural data queries. Google Play Movies & TV has shipped with Lovefield for almost two years.

Lovefield looks similar to XYZ, are you related?

No. Lovefield is built from scratch.

Technical

Can Lovefield be used with Angular/Bootstrap/Cordova/D3 ...?

Yes. Lovefield is designed to work with existing JavaScript libraries/frameworks from the very beginning. The Lovefield team is not omniscient nor omnipotent to give the answers for interoperability of specific library/framework you had, however, just assume yes, give it a try, and let us know if it does not work.

How's Lovefield's performance?

Check our performance dashboard. Details of benchmark is provided here. Your mileage can vary depending on the platform and browser you use, the best way to verify is to run the benchmark yourself on your target platform and browser.

How does Lovefield execute my query?

Lovefield has relational query engine built-in, similar to SQLite, MySQL, or other relational databases. The difference is that Lovefield does not accept raw SQL statements; instead, it has a builder-pattern API to build queries.

Lovefield executes queries inside your browser. For more details, checkout this video or our design doc.

What are the relationships between Lovefield and IndexedDB/WebSQL/Firebase?

Lovefield uses those data stores to persist data, and is designed to work with different data stores such as IndexedDB and Firebase.

WebSQL is also used as a pure data store. Lovefield does not use WebSQL for indices or query execution.

Do you support Safari now?

Only Safari 10 and later versions are supported.

Lovefield does not seem to work in private browsing of Safari/Firefox?

That is true. Safari does not support any storage in private browsing. You may consider using Memory.

For Firefox, see here.

What are the differences between Lovefield and IndexedDB/Firebase?

Lovefield offers relational query with SQL-like syntax, which IndexedDB and Firebase don't.

What are the differences between Lovefield and WebSQL?

WebSQL is considered obsolete and does not work cross-browser. Lovefield works cross-browser.