Propel2
Propel2 copied to clipboard
Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
Fixes https://github.com/propelorm/Propel2/issues/1975
The propel gen command when a table in schema.xml depends on a baseClass generates code in the "Base" namespace that is not compatible with PHP 8.2. For example, when saving...
Hello, During its inspection, PHPStorm returns errors like these in generated base query classes, complaining that the method `Collection` is already defined:  The code still works fine but obviously...
I am working on a table that has multiple foreign keys. This table is versionable. Once I tried to call foreign keys on a version of the table, I got...
When using [single table inheritance](https://propelorm.org/documentation/08-inheritance.html#single-table-inheritance), the keys for the individual classes are written to the TableMap as constants. Those are used during instantiation of the subclasses. For example, an inheritance...
Fixes [issue in comment](https://github.com/propelorm/Propel2/issues/1914#issuecomment-1740411522). I have also changed the UuidConverter, so that it handles null values. The initial idea was to be strict with the type, but it is not...
Closes https://github.com/propelorm/Propel2/issues/1971
FRW-2182 extend TimestampableBehavior with is_timestamp parameter to allow configuration of datetime type for created_at and updated_at Behavior should be extendable on 2.0.0-beta2 (2.0.1-beta2) and 2.0.0-beta3 (2.0.1-beta3) versions. Thank you.
How can I use more than one connection in the same php application using Propel2? For example, one for MySql and other for PostgreSQL, both at the same time.
I am trying to get an object stored in database. This process generates a select query. At times it runs fine, at others it throws this error: Invalid sql statement...