lovefield | relational database for web apps

 by   google JavaScript Version: 2.1.12 License: Apache-2.0

kandi X-RAY | lovefield Summary

kandi X-RAY | lovefield Summary

lovefield is a JavaScript library. lovefield has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i lovefield-node' or download it from GitHub, npm.

Lovefield is a relational database written in pure JavaScript. It provides SQL-like syntax and works cross-browser (currently supporting Chrome 37+, Firefox 31+, IE 11+, Edge, and Safari 10+). Please visit our public forum for general Q&A, feedback, and discussions. Lovefield is Day 98 of 100 days of Google Dev. This is a quick 7-minute video filmed in August 2015. Live 30min overview presentation at JS.LA (February 2015): Watch on YouTube or Vimeo.

            kandi-support Support

              lovefield has a medium active ecosystem.
              It has 6615 star(s) with 403 fork(s). There are 196 watchers for this library.
              It had no major release in the last 12 months.
              There are 42 open issues and 185 have been closed. On average issues are closed in 16 days. There are 13 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of lovefield is 2.1.12

            kandi-Quality Quality

              lovefield has 0 bugs and 0 code smells.

            kandi-Security Security

              lovefield has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              lovefield code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              lovefield is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              lovefield releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              lovefield saves you 688 person hours of effort in developing the same functionality from scratch.
              It has 1593 lines of code, 0 functions and 421 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lovefield
            Get all kandi verified functions for this library.

            lovefield Key Features

            No Key Features are available at this moment for lovefield.

            lovefield Examples and Code Snippets

            No Code Snippets are available at this moment for lovefield.

            Community Discussions


            The state of Google Lovefield
            Asked 2021-Mar-13 at 18:18

            Google Lovefield is a JS relational database layer on top of IndexedDB:

            In their FAQ, it is said to be (or have been) in use by gmail.

            It seems to no longer be developed and hardly maintained, and while the docs are not bad, I couldn't find a lot of information / tutorials for it.

            I also didn't find information on whether it has been abandoned, or if it is continued or was transformed into another library.

            If anyone has concrete information about the state of this library or derived products then I'll be happy to know.



            Answered 2021-Mar-13 at 18:18

            According to comments from GitHub, it is in "long-term maintenance mode".
            This means basically abandoned, but good enough for production for now.



            What does \\n means and how to remove it?
            Asked 2021-Jan-20 at 07:14

            I have a data set and should clean it. One example from my data:



            Answered 2021-Jan-20 at 07:14

            '\n' is a new line character whereas '\\n' is an escaped backslash followed by 'n'.

            You can remove it by using gsub :



            How to configure Angular-CLI-generated project to include a SharedWorker
            Asked 2020-May-21 at 15:18

            What are the specific steps to add a SharedWorker to an @angular/cli >1.2-generated project. I would like the SharedWorker to be defined in TypeScript (with full/correct type-definitions editor support), to share interfaces with the main project, and to be continuously compiled and tested along with the main project.

            I haven't discovered an example or blog post that describes how to modify a cli-generated project to include either a Worker or a SharedWorker. However, there are several posts (such as this one) which show how to transform an entire cli-generated project to run it as a web worker. But that's not my use-case.

            I want to confine interaction with a Lovefield database to a SharedWorker that runs in a separate process from the main application.

            Though I've experimented a bit attempting to figure this out, I haven't made much progress. Hopefully someone can save me (and future readers) a lot of time.



            Answered 2017-Dec-08 at 13:20

            I got this to work following these steps:

            1. Create folder src\app\shared-worker
            2. Create file src\app\shared-worker\shared-worker.d.ts with the following contents:

              SharedWorker definitions



            List last messages of chats
            Asked 2019-Nov-15 at 21:45
            CREATE TABLE message
                (`id` int, `from_user_id` text, `to_user_id` text, `created` datetime, `message` text)
            INSERT INTO message
                (`id`, `from_user_id`, `to_user_id`, `created`, `message`)
                (1, 'a', 'b', '2013-01-14 00:00:00', 'hello'),
                (2, 'b', 'a', '2013-01-14 00:00:00', 'world'),
                (3, 'b', 'a', '2013-01-15 00:00:00', 'hi!!')


            Answered 2019-Nov-15 at 20:56

            Below code gives last message for a provided user id, but I want rows for all users.

            Your query looks fine. Just remove the condition that filters on a specific user, and you should get the result that you expect:



            Is there any client side Db library that supports partial text search?
            Asked 2018-Apr-23 at 11:18

            I am going thru IndexDB or lovefield but so far could not find way to search partial text like we do in SQL queries via LIKEkeyword. Can someone guide me how could it be achieved?



            Answered 2018-Apr-23 at 11:18

            lovefield has the match function for pattern matching which is similar to the SIMILAR keyword in SQL which inturn is similar to the LIKE keyword. Please have a look at it and see if it does the job



            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install lovefield

            You can install using 'npm i lovefield-node' or download it from GitHub, npm.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone google/lovefield

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries


            by freeCodeCamp


            by vuejs


            by facebook


            by twbs

            Try Top Libraries by google


            by googleJava


            by googleJavaScript


            by googleHTML


            by googleC++