Coder Social home page Coder Social logo

clorabase / clorastoredb Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 180 KB

Clorastore is the world's 2nd easiest document-oriented NoSQL database followed by the CloremDB for android. This is similar to Cloud firestore and MongoDB and is written in java

Home Page: https://nosqls.clorabase.tk

License: MIT License

Java 100.00%
android-database nosql-database clorastore-db document-oriented clorastore clorastore-database clorabase clorabase-db clorastoredb

clorastoredb's Introduction

Clorastore ~ MongoDB/Firestore alternative

Version Bot Instagram - x__coder__ GitHub Repo stars

This is a local implementation of cloud firestore for android. Clorastore stores data in form of documents as firestore and mongoDB does. The main aim of making this database is to make developer life easier. Programmer does not need to know that stupid SQL queries for just simple CRUD operations. This is the second easiest database ever made for android after CloremDB. Although, this is similar to those of Firestore and Mongo DB but also differ in some ways. In Clorastore, collections can a contain collection whereas document can't. Each document is limited to 10 MB.

image

Features

  • Easy,lightweight and fast
  • Capable of storing almost all datatype
  • Use document and collections to store data
  • High level querying engine

Acknowledgements

Documentation

Deployment / Installation

In your project build.gradle

 allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

In your app build.gradle

dependencies {
	        implementation 'com.github.ErrorxCode:ClorastoreDB:2.0'
	}

It's easy

Clorastore.insert().and().read().finish();

Contribution

Contribution are always welcome. Rules and code of conduct are same. Please make a issue or pull request regarding any feature or bug.

Powered by ❤

A account-less platform as a service for android apps. (PaaS)

clorastoredb's People

Contributors

errorxcode avatar

Stargazers

 avatar  avatar

Watchers

 avatar

clorastoredb's Issues

Doubles with zero fraction-part are converted into integers

if you save a double like put("price",500.0) then it will internally be converted into integer 500. So you will get ClassCastException if you expect it to be double while retrieving.

Workaround

Get the value as a String and then parse it to Double
For example

var price_str = String.valueOf(map.get("price"));
var price = new Double(price_str).doubleValue();

Either don't save it as double, or retrieve it as integer as per the precise way

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.