Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Justin Sharp
    @yussinsharp
    Anyone know what is happening with the site? I could really use the docs...
    Justin Sharp
    @yussinsharp
    If anyone needs it
    DaniloBarros
    @DaniloBarros
    neumino/thinky#622
    Juliusz Fedyk
    @juliuszfedyk
    Hey guys, do you know if there's a way to retrieve the schema from the model?
    Ghost
    @ghost~54cee670db8155e6700f55cc
    @juliuszfedyk It would be great if this was built in. As far as I know this is the only option: https://www.npmjs.com/package/thinky-export-schema
    Justin Sharp
    @yussinsharp
    Does Model.docOn('saving') give you a callback to perform async validation/sanitization?
    Or should I be using .pre('save')? My worry with .pre('save') was that I thought it did not work with updates
    loogie
    @loogie
    hey all. how do you guys go about doing a unique id? is there a way to get say.. a count of records in table right in the default by a function?
    Justin Sharp
    @yussinsharp
    Can anybody help me with batch saving .save([])?
    In the docs it says:
    "If one error is produced by the server, the promise will be rejected."
    But I noticed it also gets rejected if any .pre('save') hook throws an error into the callback.
    Is there a way to not reject on the first error? And have it return an errors: [] array for each doc that failed and save the rest?
    Jignesh Parmar
    @jvparmar99_twitter
    Hello,
    I'm newer to use noSQL.
    Can anyone share whether Thinky is accessible with DynamoDB as well? Or Any ORM recommendation for DynamoDB?
    goonit
    @goonit
    Hey all, would anyone happen to know if the library has any typescript support?
    geo
    @geomen888
    Hello "thinky": "^2.3.9", regarding schema ... adresses:[type.object().schema({
    adress: type.string(),
    position: r.point(),
    name: type.string(),
    index: type.number()
    })],
    throw new Errors.ValidationError("The value must be String/Number/Boolean/Date/Buffer/Object/Array/'virtual'/'Point' for "+prefix);
    ^
    ValidationError: The value must be String/Number/Boolean/Date/Buffer/Object/Array/'virtual'/'Point' for [adresses][0][position]
    at parse (/home/geo/PROJECTS/SERVER-AEP/stage.1-TS-Driverlist/node_modules/thinky/lib/schema.js:284:11)
    So, I kindly ask for advice regarding poistiont: r. point() - how it need to be without errors. Thank U
    Jacob Bogers
    @Jacob_Bogers_twitter
    hello folks
    Doru Popescu
    @dorw123
    hello
    i have a short question
    i`m getting the cannot redefine a model error
    how can i fix that ?
    how to correctly init a model when trying to make queries on it ?
    Doru Popescu
    @dorw123
    hello
    where can i find this ?
    mkgn
    @mkgn
    Seems like thinky is also dieing slowly.... RethinkDB also doesn't seem to get traction.... it's sad....
    Martin Page
    @doomedramen
    Hey all, Yes RethinkDB and Thinky are dying, I LOVE thinky and rethink but have moved to mongodb + mongoose, not gonna lie, wish I had switched earlier.
    I am sad that this is the case but people only support projects they use, its ok for projects to die