Skip to content

Better Documentation With More Examples #8534

Closed

Description

@lacivert

What are you doing?

Reading documentation to understand. As an example, I want to learn how to use options of hasOne() method. I see only one example without options.

User.hasOne(Profile)

What do you expect to happen?

I think there should be many more examples for options, the second argument of the method. I think also there should be SQL outputs to make things easier to understand too

What is actually happening?

There is no example for it, no SQL output either...

The rest of the docs are full of the same issue

Dialect: any
Dialect version: XXX
Database version: XXX
Sequelize version: XXX
Tested with master branch: No

Activity

  1. added
    docs
    on Oct 25, 2017
  2. imankeeth commented on Oct 31, 2017

    @imankeeth

    Yes am facing the same issue with the documentation. There are not enough code examples to explain the method/constructor.

    Thank you.

  3. added
    status: understood
    and removed on Aug 2, 2019
  4. self-assigned this
    on Aug 2, 2019
  5. added
    status: wip
    and removed
    status: understood
    on Sep 6, 2019
  6. removed
    status: wip
    on Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions