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