nm bugfix + pagination default order params
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace Core\Objects\DatabaseEntity\Attribute;
|
||||
|
||||
// Unmanaged NM table, e.g. #[Multiple(Group::class)] for property 'groups' in User::class will create a
|
||||
// table called NM_User_groups with just two columns (user_id, group_id)
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_PROPERTY)]
|
||||
class Multiple {
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Core\Objects\DatabaseEntity\Attribute;
|
||||
|
||||
|
||||
namespace Core\Objects\DatabaseEntity\Attribute;
|
||||
// Managed NM table, e.g. #[MultipleReference(Y::class, "x", "z")] in X::class will use
|
||||
// the table of Y::class and lookup values by column "x_id" and create an array with keys of "z_id" holding a reference of Y
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_PROPERTY)]
|
||||
class MultipleReference {
|
||||
|
||||
Reference in New Issue
Block a user