We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
create sequence MY_TEST_SEQ minvalue -2147483648 maxvalue -00001 start with -00001 increment by -1 nocache;
I have tried the following, but it seems some options dont exist:
$sequence->create('MY_TEST_SEQ', $start = -00001, $min = -2147483648, $max = -00001, $increment = -1, $nocache = true);
Thanks.
The text was updated successfully, but these errors were encountered:
Why dont you offer some of these functions like create() in sequence as traits so that we can easily override/ customize them if needed?
Sorry, something went wrong.
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 👍
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: