- Work done on many-to-many relations - code must still be refactored out of the EntityTrait.

- Fixed Entity::field("propertyname") function to look for name into @Field() annotation and returns it if it exists.
- A lot of bug fixes made into SQL fragments.
This commit is contained in:
Dave Mc Nicoll committed 2020-04-09 09:50:09 -04:00
1 parent 6e84fc7195
commit c64c7778bd
20 files changed
+220 -105

No files matched your search

+3 -1
View File
@@ -16,6 +16,7 @@ class PdoObject extends PDO {
return $statement;
}
} catch (\PDOException $e) {
debogueur($sql, $parameters);
throw $e;
}
}
@@ -26,6 +27,7 @@ class PdoObject extends PDO {
return $this->execute($statement, $parameters, true);
}
} catch (\PDOException $e) {
debogueur($sql, $parameters);
throw $e;
}
@@ -41,7 +43,7 @@ class PdoObject extends PDO {
if (empty($parameters) ? $statement->execute() : $statement->execute($parameters)) {
$statement->lastInsertId = $this->lastInsertId();
if ($commit) {
if ( $commit ) {
$this->commit();
}