Skip to content
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

Added model:docstring command #706

Merged
merged 57 commits into from
Jun 12, 2022

Conversation

girardinsamuel
Copy link
Contributor

@girardinsamuel girardinsamuel commented Jun 2, 2022

Fix #705
Closes #240
Based on PR #326.
TASK-55

Work in Progress...some types to correct and also fetching default values. Also need to add mysql and mssql support.

JarriqTheTechie and others added 8 commits May 27, 2022 05:03
…te works by setting the __has_events__ attribute on the model to False. If attribute is set to true then events will run as normal. If set to false will bypass all observable events.
…g the count method to determine if any records exist that match your query's constraints, you may use the exists and doesntExist methods:
Added additional method for reactivating events
@josephmancuso josephmancuso changed the title Added model:docstring command Added model:docstring command TASK-55 Jun 3, 2022
rfschubert and others added 21 commits June 3, 2022 15:04
When creating a new Model, it was hardcoded `User Model` at line 1, and not using the new `__CLASS__` name that user chooses
…/exists&doesnt_exist

Added exists and doesnt_exist method to QueryBuilder.
…ASK-25-664

added where_date and or_where_null
…/without_events

Added without_events method to ObserveEvents class. This feature upda…
@josephmancuso josephmancuso changed the title Added model:docstring command TASK-55 Added model:docstring command Jun 10, 2022
@josephmancuso josephmancuso marked this pull request as ready for review June 12, 2022 14:16
@josephmancuso josephmancuso merged commit c91baa4 into MasoniteFramework:2.0 Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a "model:docstring" command to generate type hinting for models Add list_table_columns to schema builder
4 participants