gitextract_q9lmgekj/ ├── .deepsource.toml ├── .env-example ├── .envrc ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.md │ │ └── feature_request.md │ └── workflows/ │ ├── pythonapp.yml │ └── pythonpublish.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pypirc ├── .tool-versions ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── TODO.md ├── app/ │ └── observers/ │ └── UserObserver.py ├── cc.py ├── conda/ │ ├── conda_build_config.yaml │ └── meta.yaml ├── config/ │ └── test-database.py ├── databases/ │ ├── migrations/ │ │ ├── 2018_01_09_043202_create_users_table.py │ │ ├── 2020_04_17_000000_create_friends_table.py │ │ ├── 2020_04_17_00000_create_articles_table.py │ │ ├── 2020_10_20_152904_create_table_schema_migration.py │ │ └── __init__.py │ └── seeds/ │ ├── database_seeder.py │ └── user_table_seeder.py ├── makefile ├── orm ├── pyproject.toml ├── pytest.ini ├── requirements.dev ├── requirements.txt ├── setup.py ├── src/ │ └── masoniteorm/ │ ├── .gitignore │ ├── __init__.py │ ├── collection/ │ │ ├── Collection.py │ │ └── __init__.py │ ├── commands/ │ │ ├── CanOverrideConfig.py │ │ ├── CanOverrideOptionsDefault.py │ │ ├── Command.py │ │ ├── Entry.py │ │ ├── MakeMigrationCommand.py │ │ ├── MakeModelCommand.py │ │ ├── MakeModelDocstringCommand.py │ │ ├── MakeObserverCommand.py │ │ ├── MakeSeedCommand.py │ │ ├── MigrateCommand.py │ │ ├── MigrateFreshCommand.py │ │ ├── MigrateRefreshCommand.py │ │ ├── MigrateResetCommand.py │ │ ├── MigrateRollbackCommand.py │ │ ├── MigrateStatusCommand.py │ │ ├── SeedRunCommand.py │ │ ├── ShellCommand.py │ │ ├── __init__.py │ │ └── stubs/ │ │ ├── create_migration.stub │ │ ├── create_seed.stub │ │ ├── model.stub │ │ ├── observer.stub │ │ └── table_migration.stub │ ├── config.py │ ├── connections/ │ │ ├── .gitignore │ │ ├── BaseConnection.py │ │ ├── ConnectionFactory.py │ │ ├── ConnectionResolver.py │ │ ├── MSSQLConnection.py │ │ ├── MySQLConnection.py │ │ ├── PostgresConnection.py │ │ ├── SQLiteConnection.py │ │ └── __init__.py │ ├── exceptions.py │ ├── expressions/ │ │ ├── __init__.py │ │ └── expressions.py │ ├── factories/ │ │ ├── Factory.py │ │ └── __init__.py │ ├── helpers/ │ │ ├── __init__.py │ │ └── misc.py │ ├── migrations/ │ │ ├── Migration.py │ │ └── __init__.py │ ├── models/ │ │ ├── MigrationModel.py │ │ ├── Model.py │ │ ├── Model.pyi │ │ ├── Pivot.py │ │ └── __init__.py │ ├── observers/ │ │ ├── ObservesEvents.py │ │ └── __init__.py │ ├── pagination/ │ │ ├── BasePaginator.py │ │ ├── LengthAwarePaginator.py │ │ ├── SimplePaginator.py │ │ └── __init__.py │ ├── providers/ │ │ ├── ORMProvider.py │ │ └── __init__.py │ ├── query/ │ │ ├── EagerRelation.py │ │ ├── QueryBuilder.py │ │ ├── __init__.py │ │ ├── grammars/ │ │ │ ├── BaseGrammar.py │ │ │ ├── MSSQLGrammar.py │ │ │ ├── MySQLGrammar.py │ │ │ ├── PostgresGrammar.py │ │ │ ├── SQLiteGrammar.py │ │ │ └── __init__.py │ │ └── processors/ │ │ ├── MSSQLPostProcessor.py │ │ ├── MySQLPostProcessor.py │ │ ├── PostgresPostProcessor.py │ │ ├── SQLitePostProcessor.py │ │ └── __init__.py │ ├── relationships/ │ │ ├── BaseRelationship.py │ │ ├── BelongsTo.py │ │ ├── BelongsToMany.py │ │ ├── HasMany.py │ │ ├── HasManyThrough.py │ │ ├── HasOne.py │ │ ├── HasOneThrough.py │ │ ├── MorphMany.py │ │ ├── MorphOne.py │ │ ├── MorphTo.py │ │ ├── MorphToMany.py │ │ └── __init__.py │ ├── schema/ │ │ ├── Blueprint.py │ │ ├── Column.py │ │ ├── ColumnDiff.py │ │ ├── Constraint.py │ │ ├── ForeignKeyConstraint.py │ │ ├── Index.py │ │ ├── Schema.py │ │ ├── Table.py │ │ ├── TableDiff.py │ │ ├── __init__.py │ │ └── platforms/ │ │ ├── MSSQLPlatform.py │ │ ├── MySQLPlatform.py │ │ ├── Platform.py │ │ ├── PostgresPlatform.py │ │ ├── SQLitePlatform.py │ │ └── __init__.py │ ├── scopes/ │ │ ├── BaseScope.py │ │ ├── SoftDeleteScope.py │ │ ├── SoftDeletesMixin.py │ │ ├── TimeStampsMixin.py │ │ ├── TimeStampsScope.py │ │ ├── UUIDPrimaryKeyMixin.py │ │ ├── UUIDPrimaryKeyScope.py │ │ ├── __init__.py │ │ └── scope.py │ ├── seeds/ │ │ ├── Seeder.py │ │ └── __init__.py │ ├── stubs/ │ │ ├── create-migration.html │ │ └── table-migration.html │ └── testing/ │ ├── BaseTestCaseSelectGrammar.py │ └── __init__.py └── tests/ ├── User.py ├── collection/ │ └── test_collection.py ├── commands/ │ └── test_shell.py ├── config/ │ └── test_db_url.py ├── connections/ │ └── test_base_connections.py ├── eagers/ │ └── test_eager.py ├── factories/ │ └── test_factories.py ├── integrations/ │ └── config/ │ ├── __init__.py │ └── database.py ├── models/ │ └── test_models.py ├── mssql/ │ ├── builder/ │ │ ├── test_mssql_query_builder.py │ │ └── test_mssql_query_builder_relationships.py │ ├── grammar/ │ │ ├── test_mssql_delete_grammar.py │ │ ├── test_mssql_insert_grammar.py │ │ ├── test_mssql_qmark.py │ │ ├── test_mssql_select_grammar.py │ │ └── test_mssql_update_grammar.py │ └── schema/ │ ├── test_mssql_schema_builder.py │ └── test_mssql_schema_builder_alter.py ├── mysql/ │ ├── builder/ │ │ ├── test_mysql_builder_transaction.py │ │ ├── test_query_builder.py │ │ ├── test_query_builder_scopes.py │ │ └── test_transactions.py │ ├── connections/ │ │ └── test_mysql_connection_selects.py │ ├── grammar/ │ │ ├── test_mysql_delete_grammar.py │ │ ├── test_mysql_insert_grammar.py │ │ ├── test_mysql_qmark.py │ │ ├── test_mysql_select_grammar.py │ │ └── test_mysql_update_grammar.py │ ├── model/ │ │ ├── test_accessors_and_mutators.py │ │ └── test_model.py │ ├── relationships/ │ │ ├── test_belongs_to_many.py │ │ ├── test_has_many_through.py │ │ ├── test_has_one_through.py │ │ └── test_relationships.py │ ├── schema/ │ │ ├── test_mysql_schema_builder.py │ │ └── test_mysql_schema_builder_alter.py │ └── scopes/ │ ├── test_can_use_global_scopes.py │ ├── test_can_use_scopes.py │ └── test_soft_delete.py ├── postgres/ │ ├── builder/ │ │ ├── test_postgres_query_builder.py │ │ └── test_postgres_transaction.py │ ├── grammar/ │ │ ├── test_delete_grammar.py │ │ ├── test_insert_grammar.py │ │ ├── test_select_grammar.py │ │ └── test_update_grammar.py │ ├── relationships/ │ │ └── test_postgres_relationships.py │ └── schema/ │ ├── test_postgres_schema_builder.py │ └── test_postgres_schema_builder_alter.py ├── scopes/ │ └── test_default_global_scopes.py ├── seeds/ │ └── test_seeds.py ├── sqlite/ │ ├── builder/ │ │ ├── test_sqlite_builder_insert.py │ │ ├── test_sqlite_builder_pagination.py │ │ ├── test_sqlite_query_builder.py │ │ ├── test_sqlite_query_builder_eager_loading.py │ │ ├── test_sqlite_query_builder_relationships.py │ │ └── test_sqlite_transaction.py │ ├── grammar/ │ │ ├── test_sqlite_delete_grammar.py │ │ ├── test_sqlite_insert_grammar.py │ │ ├── test_sqlite_select_grammar.py │ │ └── test_sqlite_update_grammar.py │ ├── models/ │ │ ├── test_attach_detach.py │ │ ├── test_observers.py │ │ └── test_sqlite_model.py │ ├── relationships/ │ │ ├── test_sqlite_has_many_through_relationship.py │ │ ├── test_sqlite_has_one_through_relationship.py │ │ ├── test_sqlite_polymorphic.py │ │ └── test_sqlite_relationships.py │ └── schema/ │ ├── test_sqlite_schema_builder.py │ ├── test_sqlite_schema_builder_alter.py │ ├── test_table.py │ └── test_table_diff.py └── utils.py