Coder Social home page Coder Social logo

tflanagan / node-qb-record Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 5.13 MB

A lightweight, promise based abstraction layer for Quick Base Records

Home Page: https://tflanagan.github.io/node-qb-record/

License: Other

JavaScript 1.14% TypeScript 98.86%

node-qb-record's Introduction

tflanagan's github stats

node-qb-record's People

Contributors

tflanagan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

node-qb-record's Issues

Question: Example of how to save a record

Would it be possible to provide an example of how to save a record please?

This is what I am currently trying...

let qbRecord = new QBRecord({
    quickbase: quickbase,
    tableId: 'abcdefghi'
});

qbRecord.set('6', thickness);
qbRecord.set('7', width);
qbRecord.set('8', length);
qbRecord.set('9', unitOfMeasure);
qbRecord.set('10', quantity);

return qbRecord.save({ fidsToSave: [6, 7, 8, 9, 10] })
    .then(response => {
        console.log(response);
        return response;
    })
    .catch(error => {
        console.error('Error:', error);
    });

This is creating a record in QuickBase but it does not appear to be sending in the request those fields. So I am guessing I'm using .set() incorrectly?

Thanks for your help ๐Ÿ™‚

Error: Can't resolve 'crypto'

Hello @tflanagan

I'm trying to use this in a react web app which is built with Webpack.

I can use the quickbase library fine but when trying to use your abstraction layer for records I'm getting this error from webpack:

ERROR in ./node_modules/rfc4122/rfc4122.js 19:15-32 Module not found: Error: Can't resolve 'crypto'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.

Is there an easy way to resolve this? I had the same issue with qb-table as well.

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.