- Work done on Join and using the @Relation annotation in case there is no join.
- Added some field type (date, Datetime, Time) - Added a new @Filter annotation which allows to filter repository from relation into a method.
This commit is contained in:
1 parent
65de1dd849
commit
e465ecdf32
17 files changed
+197
-61
No files matched your search
@@ -6,13 +6,13 @@ use Ulmus\Query;
|
||||
|
||||
class Where implements \Ulmus\Annotation\Annotation {
|
||||
|
||||
public string $field;
|
||||
public /* stringable */ $field;
|
||||
|
||||
public $value;
|
||||
|
||||
public string $operator;
|
||||
|
||||
public function __construct(? string $field = null, $value = null, ? string $operator = null)
|
||||
public function __construct(/* stringable */ $field = null, $value = null, ? string $operator = null)
|
||||
{
|
||||
if ( $field !== null ) {
|
||||
$this->field = $field;
|
||||
|
||||
Reference in new issue
Block a user