good first issuetypings
Repository metrics
- Stars
- (7,146 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
QueryBuilder has a convenient method tableRef which returns the alias for the model the query builder operates against:
However it's not exposed in typings and not mentioned in the documentation. Can we add it?
On a side note, its implementation clearly contradicts the typings for tableRefFor:
the method is supposed to accept a model class, but the actual implementation passes a string.