Giter Club home page Giter Club logo

excel-couchdb-import's People

Contributors

mikebild avatar scullman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

excel-couchdb-import's Issues

Windows?

Hello, I have excel file I'd like to push to PouchDB and that's how I found the repo. Was there a way to send command with Windows10?

Mango query reserved $type as operator

Can't use Mango query in Fauxton:

{
   "selector": {
      "$type": {
         "$eq": "Genre"
      }
   }
}

Error running query. Reason: (bad_arg) Bad argument for operator $type

$type conflict with condition-operators in find documents querying syntax.

I fix this by changing $type by doc_type in followed lines:

return Object.assign({}, x, {$type: sheet.name})

return Object.assign({}, x, {$type: sheetName});

Error trying to use

Just trying to download the example excel file and run the command:

❯ excel-couchdb-import movies.xlsx --target http://admin:password@localhost:5984/targetdb --reimport
/opt/homebrew/lib/node_modules/excel-couchdb-import/bin/excel-couchdb-import:93
          args.log.info(`creating ${dbName} database ...`);
                   ^

TypeError: args.log.info is not a function
    at /opt/homebrew/lib/node_modules/excel-couchdb-import/bin/excel-couchdb-import:93:20
    at Request._callback (/opt/homebrew/lib/node_modules/excel-couchdb-import/node_modules/nano/lib/nano.js:245:7)
    at Request.self.callback (/opt/homebrew/lib/node_modules/excel-couchdb-import/node_modules/request/request.js:185:22)
    at Request.emit (node:events:527:28)
    at Request.<anonymous> (/opt/homebrew/lib/node_modules/excel-couchdb-import/node_modules/request/request.js:1154:10)
    at Request.emit (node:events:527:28)
    at IncomingMessage.<anonymous> (/opt/homebrew/lib/node_modules/excel-couchdb-import/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (node:events:641:28)
    at IncomingMessage.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    ````
Using :

❯ node -v
v16.16.0
❯ npm -v
8.11.0

Could you provide any demo?

Hi Mike,

We'll need this type of import soon. I was evaluating few possibilities.
Would you mind to provide a excel template you use just to see how it works ?

Looks promising.

Thanks

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.