Open nikklass opened 7 years ago
Why dont you offer some of these functions like create() in sequence as traits so that we can easily override/ customize them if needed?
You cud add the option i suppose like you currently do in Sequence.php:
public function create($name, $start = 1, $nocache = false, $min = 1, $max = 10000, $increment = 1)
{
if (! $name) {
return false;
}
$nocache = $nocache ? 'nocache' : '';
$sequence_stmt = "create sequence {$name} minvalue {$min} maxvalue {$max} start with {$start} increment by {$increment} {$nocache}";
return $this->connection->statement($sequence_stmt);
}
Rgds.
@nikklass we are open for pull-requests :+1:
Hi,
Thanks for the package. I wud like to create a sequence with more options than the example given. Is it possible to create a sequence
I have tried the following, but it seems some options dont exist:
System details
Thanks.