MasoniteFramework/
This is NOT currently the ORM that Masonite uses. This is a work in progress
USD raised
Recent activities
Add table.soft_deletes() to ease working with soft delete scope
Cannot eager load multiple eagers off of the same relation
Possibility to run only a specific seed
Custom config __connection__ in custom model class isn't override
With statement to can use QueryBuilder or Model operations inside transaction
Is morph_to feature equivalent to Orator ones ?
Add find_or_fail
Add change schema
Add support for nested with statements
Error running migration with sqlite on latest version
Add different database services to Github Actions
Be able to use .primary() as for unique() constraint
Add model events and observers
Add time ran to migrations
Add chunk support
Add a global transaction helper
Error running where or find query on User model
Implicit where has with where method.
rewrite eager loading
Add eager loading
Add eager loading of polymorphic relationships
Eager load attribute on model
refactor eager loading
Add list_table_columns to schema builder
Timestamp not setting nullable attribute in schema
Migration output breaks when schema query is a list
dates are converting to todays date if they were None when accessed on models
Eager Loading is using too many bindings
Add `after_creating` to factory class
Passing a list to find([1,2,3]) should return collection
Be able to specify migration path for migrations
Cannot name connection classes whatever we need.
Implements a decorator using a context to handle operations inside a transaction.
HasManyThrough with unlimited intermediate models.
Field access Expression outside of model instance
Missing 'like' and 'not like' operator in QueryBuilder
QueryBuilder where_raw bindings parameter not used
updated_at timestamp gets current timestamp on model find/hydrate when record field is empty
'like' operator should default to 'ilike' for postgres
FirebirdSQL feature support
Multiple order_by doesnt work
Schema Dump command
Add new builder method scopes for soft deleting
Add when to query builder
Add ability to truncate with foreign keys disabled
Soft deletes scope does not work when deleting models
Count not a callable on the model.
Custom message in logging queries
add update_or_create to query builder
Bug when running migrations without specifying connection
Add __visible__ to model serialization
Issue with setting and then getting attributes
where method should accept dictionary
Add "joins" method to query builder
Add a way to set the deleted_at column used for soft delete scopes
Has_one relationship
updated_at timestamp is filled on create
Add __original_attributes__ to model hydration
find and get method should be able to take parameters to select only the columns
Support database URLs
Create or update model from request
New models are updating when they should be creating
Add Bulk Insert
Postgres querybuilder
Add Pivot Table support (belongs_to_many)
Missing where_like method on query builder
Fields in the __hidden__ variable are being returned.
Add Raw queries to query builder and schema builder
Multiple Group By
Querying trashed model does not work
Bug in Bulk Create
group by should act same as order by with column
async support
"YEAR" type in SQLitePlatform missing in Blueprint
Bug in pagination does not apply where clause
Improve aggregate functions
serialize causing: AttributeError: 'NoneType' object has no attribute 'split'
Cannot set string as column default in schema
Add add_select query
Add truncate() on models too
add with_count() to query query builder relations
MySQL not getting last inserted ID on creates
has_one relationship not working as expected.
Enum in migration not working (Postgres)
has_many not returning related records
Migration change() bug
Bug in seeder
Fix error with sqlite importing at the top of the connection class
big_increments not treated as primary key
Request to add rename_column feature for schema builder
Create Schema If Not Exists feature
select_raw builds invalid syntax if not last in chain
Caanot build arbitrary Queries without "from" for root Select
Base Models overriding table name
default() not working
Feature Request to add execution of store procedures, and functions
Updating in bulk not working
Add `add_foreign` to the schema builder
Model no attribute 'id' after creating
Polymorphic and many to many polymorphic relations
On delete cascade not working
adding an unique constraint results in TypeError
conda support
Query builder throwing error when chaining aggregates
Query Builder cannot use multiple from_()
where_has out of index issue
Object of type date is not JSON serializable
QueryBuilder: .to_sql() used before .get() produces unexpected results
Question: how to use .between() for date interval?
unwanted log value [datetime] False
Missing take?
Exception when belongs_to used without arguments
Add support for specifying better where clauses when doing a join
Doc: Migration from 2.3 to 3.0 (queue_table)
How to use **JSON** fields with **masonite-orm** ?
Different type of return: The Model Query return a object and the Query Builder return a list (orator -> masonite-orm)
Allow other database objects to have their name explicitly specified (eg indexes, foreign keys)
Make column name optional when specifying index/foreign/fulltext inline
Create model and migration on the same command
Update UUID column tries to set 'None' as UUID when field empty
Cannot execute raw query
How do I create a composite primary key?
Ability to run seeders in refresh migrations
Question: QueryBuilder how to join on id columns and a column with arbitrary value?
Adding or_where() passthrough on Models
LONGBLOB datatype is not supported on PostgreSQL
PostgreSQL inet,cidr and macaddr data type
Missing drop_primary function
For Postgres: 'QueryBuilder' object has no attribute 'where_between'
Add Mixin Documentation
Documentation - Collections - Available Methods anchor links are incorrect.
Missing Documentation for Model.save() method
UUIDPrimaryKeyMixin not working with SQLite
automic expressions supporting
Looks like binding a value of 0 does not add the query binding correctly
drop_index not work on postgresql
Drop Primary Not Working
Maximum Recursion Depth issue while using Accessor
where binding expression does not support boolean value
Date column causes pendulum exception
Pivot data is not serializable
unique() method in migrations is ignoring the name attribute
Object of type datetime is not JSON serializable
with_ relation gives un-wanted data.
MSSQLConnection Active Directory Authentication
Question: Create a record where guarded or not fillable attributes are NOT NULL in db schema
UUIDPrimaryKeyMixin _always_ provides a UUID on create
Error migrations on Mysql: Foreign key constraint is incorrectly formed
Sub Selects binding error for multiple where clauses
Method attach on model.Model does not seem to handle many-to-many relationship correctly
How to create with model relationship?
Allow database configuration/settings path to be specified for CLI commands
Migrations not wrapping table/column names
Deploy Masonite ORM
Creating or updating records with pendulum instance does not work
After throws an exception in a migration
Migrate and rollback by name
Possible compatibility issues with column rename MySQL
event/observers has severe bug
'QueryBuilder' object has no attribute 'foreign_key'
Upgrade inflection
where_has not working
Cannot use pagination when using with_count on belongs_to_many relationship
hidden attribute cannot be found using dot notation
Add comments to column in migrations
notification migration is broken
Question: how to implement multiple (possibly virtual) bool attributes for global scope manipulation
Where_Raw follow by where
Add Where NOT EXISTS - where_not_exists
Something is wrong with the performance on big data
Where exists has wrong definition in documentation
craft model command missing from ORMProvider
eager loading is not working with chunk
TypeError when running `migrate:rollback`
Issue while using `with_("users")`
Be able to set log level in connection details
Query is returning everything even if I used __selects__ in case of with_count.
Rename tables
Add greater_than and less_than to the where method
Create a seeder at same time when create a model. Instead separately.
Using `long_text()` with postgres does not work
model command PEP8 standar
model command migration argument suggestion
Unable to specify certain data to return from an association model
Add HasOneThrough relationship
.create and .serialize ignoring json casts
The order of primary keys are wrong in the belongs_to relation
Attach method on belongs to many relationship missing table name construction
Add `detach` and `detach_many` methods to Models
find method not returning a collection
`.save()` should handle INSERT and UPDATE depending on situation.
Make error more obvious when trying to create record on a missing table
Getting a different query result when making subsequent calls
Add HasManyThrough relationship
Add Get Columns to for Model
Paginator calculating last_page wrong when using soft deletes
SQLite alters don't work if existing table has a boolean type
Add ability to query pivot columns in many to many relationship.
MySQL foreign key referencing a big_increments field
SoftDeletesMixin doesn't work as expected when trying to change the column name.
Cannot create non nullable field named `slug`
REGEXP operator support for MySQL
Accessors and mutators aren't called on SomeModel.create()
Empty string as default value in migrations not working [MySQL]
Migration hierarchy not working
Object of type Decimal is not JSON serializable
Add missing where_in method on collection
Builder is not initialized when attaching entities in a many to many relation
Cannot update a model instance in a many to many relation
Custom path to DB connection Details ignored
Fix issue with getting original updated and current attributes in observer
Make a new cast for dates
Add selects argument to first method
Add ability to suppress observer events
Problem **related** method
Many-to-many relationship joins do not use pivot table
Add or_where_null and where_date
create method should cast when passing a dictionary
Add missing float to blueprint
Add -m option to all migration commands
Add related to belongs to many relationship
increment and decrement doesn't works
Using .joins() overwrites local model fields with same named fields from joined table
QueryBuilder created with `new_from_builder()` use the same references as the builder it is created from
Attributes with accessor are serialized with their raw value and adding the attribute on `__appends__` causes internal state issues
Masonite ORM should change '?' to ? in the binding expressions
Binding error on sub queries
Add `.exists()` query builder method
Promote `.delete()` to a first-class method on the Model class
`seed:run` command ignores `connection` option
Code completion and type hinting in IDEs?
Fix issue with updates not updating the model instance correctly
Problem with get_original
Query with where_in function returns out of list index error
Where_has function can only works at boolean but number nor string
Add dot notation for related relationships in where_has method
Type hint the codebase
Add a "model:docstring" command to generate type hinting for models
Value changed in creating observer is not saved in the database
It is creating migration in order but you are not able to migrate at all.
Add select distinct
Issue when serializing a model with pickle
`on` method should affect only the `Model` instance
PostgresPlatform's `modify_column_string` missing `{length}`?
Cast should not be optional on create
`RecursionError: maximum recursion depth exceeded` when using `new_from_builder()`
Is there some way to get the number of rows deleted by a query builder's `delete` method?
Add Schema to postgres connections
Add doesnt_have method
`__with__` is throwing an infinite recursion error but `with_` works
Change default Model directory when creating them with the `model` command
where_has not using the correct table name
update a model with `DateTime` field using `pendulum.now()`
with_ method should be able to use a lambda
limit row value bug
Model .update() does not check cast attributes
`detach` deletes the related models
get_related bug
with_ lamda filters not working.
BelongsTo relation has wrong amount of QueryBuilder arguments.
bulk create removes empty field bindings
bulk_create() expects same column order for all data
Hydration not working in `has_one` relationship
detach method should delete pivot record from intermediate table for BelongsToMany
Column 'id' cannot be null issue during observers
Issue occurs while using pagination on query builder , if no data is present
QueryException on soft delete starting in 2.18.3
Question: Different Relation Model based on Model attribute - how?
AttributeError: 'MSSQLGrammar' object has no attribute 'subquery_alias_string'
Scopes with the same name from different models cannot coexist
Add some methods
Bug in migrate:refresh command
Bug: command migrate
Macros are appended multiple times into Model `__passthrough__`
Fix problem with increment and decrement in QueryBuilder
Belongs to many - Table can't be without an underscore
Datetime field can't be set to null
UpdateOrCreate
Migration on Sqlite - incorrect nullable behaviour
FileNotFoundError *stub
Returning all fields after creation even if it's NULL
`QueryBuilder.update()` does not respect model `__casts__`
Datetime fields returning type is not consistant.
Add complete type definitions
masoniteorm.query.QueryBuilder.QueryBuilder.create()
Ability to define custom computed properties on models
__fillable__ and __guarded__ are mutually exclusive... why?
Little issue in first_or_create method
Automatically remember the user who created or updated
TypeError exception when running `seed:run`
Where with None values
Error trying to save Json in version 2.19.*
Allow for specifying a config path when using ConnectionResolver
Β© 2019 BoostIO, Inc.