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