Coder Social home page Coder Social logo

adhyapranata / crane Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 5.0 3.17 MB

React Native SQLite query builder. Supports expo-sqlite and react-native-sqlite-storage.

License: MIT License

JavaScript 100.00%
react-native sqlite3 sqlite query-builder offline-app offline-first react-native-sqlite hacktoberfest

crane's People

Contributors

adhyapranata avatar dependabot[bot] avatar frdteknikelektro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

crane's Issues

Add test suite

Add test suite

Expected Behaviour

Awesome unit tests with >=70% coverage

Current Behaviour

No test suite

Possible Solution

Write test using Jest

Finish Builder

Add remaining functionalities to the Builder

Expected Behaviour

  • Table
  • Selections
  • Wheres
  • OrWheres
  • Ordering, Grouping, Limit, & Offset
  • Union
  • Join
  • Aggregates
  • Modifiers
  • Retrievers
  • Raw

_Database.default.Grammar is not a constructor

My actions before raising this issue

I have Followed the doc guide
Read/searched the docs
Searched past issues also in the doc the module is imported from 'crane'. i am using expo 39

But i get this error [Unhandled promise rejection: TypeError: _Database.default.Grammar is not a constructor]

Expected Behaviour
It is supposed to return an array of albums

Current Behaviour
It returns a promise rejection

How to use the package to create a new table and database

The reason for creating this issue is to know how to create a new table or a new database using this package.
As an example, let say I want to create a new database called earth, and inside the earth db, i want to create a new table called countries, how do i do that?

Add automation

Add automation

Expected Behaviour

Automation that runs test and lint process for any new pull request to develop branch

Current Behaviour

No automation

Possible Solution

Use Travis CI or GitHub Action

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.