Coder Social home page Coder Social logo

chenstarx / godb.js Goto Github PK

View Code? Open in Web Editor NEW
168.0 5.0 18.0 227 KB

IndexedDB with Intuitive API,轻松搞定浏览器数据库🎉

Home Page: https://godb-js.github.io

License: MIT License

JavaScript 21.52% TypeScript 74.40% HTML 4.08%
indexeddb indexeddb-wrapper typescript localstorage

godb.js's Issues

反馈一个问题

调用put的时候,出现[object Object] could not be cloned这样的错误提示,我认为应该是部分schema定义的字段数据类型是Object类型或者Array类型的问题,在业务代码调用put的时候进行一次深拷贝后调用正常,你看在GoDB内部是否需要处理一下

为什么get之前要先add一下呢?

请问虽然是要异步操作,但是每次get之前add一下,总是觉得有点不对。请大神指教。
如果后面需要从数据库取数据的话,也要先add一下吗?add什么呢?

关于正式版

您好,请问godb大概啥时候可以发布正式版哈?
看到godb,希望引入到项目中使用,是对内的PC站点,技术栈是Vue 2.x + TypeScript,应该是没有兼容性问题吧?
感谢,ღ( ´・ᴗ・` )比心

Unexpected reserved word 'await'

export default new Vuex.Store({
  state: {
    godb: await GoDB.open('testDB')
  },
  mutations: {},
  actions: {}
});

编译时提示Unexpected reserved word 'await'

How to get all data from table

hi
Table.get() throw error if not defining any key in it ?

and what is they way to get all the data from table without any search or find

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.