-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update loopback-datasource-juggler API docs for promises #833
Comments
@davidcheung What exactly needs updating here? Are we updating the doc descriptions, or just the method signatures to ensure that they say |
@kjdelisle hmm i actually dont remember, i dont think i started it tho, perhaps @jannyHou might remember. I would assume it is to add jsdoc to the methods similar to strongloop/loopback#2040 |
Follow the discussion in issue strongloop/strong-docs#63 I believe we already support promise in jsdoc, but not sure why it doesn't show up in website. I remember I tested the implementation before and it works. I need to investigate how to display promise annotation properly. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Doc issue; shouldn't be stale. |
@crandmck This looks like it's still an issue, but in the JSDoc itself. |
OK, thanks for staying on top of it @kjdelisle. Do you want to open a PR for this? I can probably address it at some point, but if you want to get it fixed sooner rather than later.... :-) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the |
Parent: strongloop/loopback/issues/1409
Related: strongloop/strong-docs/issues/63, strongloop-internal/scrum-loopback/issues/615
scope.js
ScopeDefinition.prototype.related
(seems lack doc page)
dao.js
Static methods:
DataAccessObject.create
DataAccessObject.updateOrCreate (alias of upsert)
DataAccessObject.upsert
DataAccessObject.findOrCreate
DataAccessObject.exists
DataAccessObject.findById
DataAccessObject.findByIds (alias of findById)
DataAccessObject.find
DataAccessObject.findOne
DataAccessObject.remove (alias of destroyAll)
DataAccessObject.deleteAll (alias of destroyAll)
DataAccessObject.destroyAll
DataAccessObject.removeById (alias of destroyById)
DataAccessObject.destroyById
DataAccessObject.deleteById (alias of destroyById)
DataAccessObject.count
DataAccessObject.update (alias of updateAll)
DataAccessObject.updateAll
Instance methods:
DataAccessObject.prototype.save
DataAccessObject.prototype.remove (alias of destroy)
DataAccessObject.prototype.delete (alias of destroy)
DataAccessObject.prototype.destroy
DataAccessObject.prototype.updateAttribute
DataAccessObject.prototype.updateAttributes
DataAccessObject.prototype.reload ?
datasource.js
All of them are instance methods
DataSource.prototype.
automigrate
autoupdate
discoverModelDefinitions
discoverModelProperties
discoverPrimaryKeys
discoverForeignKeys
discoverExportedForeignKeys
discoverSchema
discoverSchemas
relation-definition.js
HasMany.prototype.findById
HasMany.prototype.exists
HasMany.prototype.updateById
HasMany.prototype.destroyById
HasManyThrough.prototype.findById
HasManyThrough.prototype.destroyById
HasManyThrough.prototype.create
HasManyThrough.prototype.add
HasManyThrough.prototype.exists
HasManyThrough.prototype.remove
BelongsTo.prototype.create
BelongsTo.prototype.update
BelongsTo.prototype.destroy
BelongsTo.prototype.getAsync
HasOne.prototype.create
HasOne.prototype.update
HasOne.prototype.destroy
HasMany.prototype.create
HasOne.prototype.getAsync
EmbedsOne.prototype.embeddedValue
EmbedsOne.prototype.create
EmbedsOne.prototype.update
EmbedsOne.prototype.destroy
EmbedsMany.prototype.create
EmbedsMany.prototype.add
EmbedsMany.prototype.remove
ReferencesMany.prototype.findById
ReferencesMany.prototype.exists
ReferencesMany.prototype.updateById
ReferencesMany.prototype.destroyById
ReferencesMany.prototype.at
ReferencesMany.prototype.create
ReferencesMany.prototype.add
ReferencesMany.prototype.remove
observer.js
ObserverMixin.notifyObserversOf
transaction.js
TransactionMixin.beginTransaction
Transaction.prototype.commit
Transaction.prototype.rollback
The text was updated successfully, but these errors were encountered: