Files
kiri-core/Database/Condition/ChildCondition.php
T

23 lines
315 B
PHP
Raw Normal View History

2020-08-31 12:38:32 +08:00
<?php
2020-10-29 18:17:25 +08:00
declare(strict_types=1);
2020-08-31 12:38:32 +08:00
namespace Database\Condition;
/**
* Class ChildCondition
* @package Database\Condition
*/
class ChildCondition extends Condition
{
/**
* @return string
*/
2020-12-17 14:09:14 +08:00
public function builder(): string
2020-08-31 12:38:32 +08:00
{
return $this->column . ' ' . $this->opera . ' (' . $this->value . ')';
}
}