-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
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
Insert: Getting the Sequence Number #586
Labels
Comments
Just fetch the next sequence value. See https://yajrabox.com/docs/laravel-oci8/master/sequence for ref. |
Just found out while working on #615 that there is a failing test for this scenario. Will try to fix on future release. Thanks! |
yajra
added a commit
that referenced
this issue
Dec 8, 2020
yajra
added a commit
that referenced
this issue
Dec 8, 2020
* 8.x: Bump v8.2.2 🚀 Fix github action error on clone? BadMethodCallException: Call to undefined method Yajra\Oci8\Query\OracleBuilder::clone() Fix crossJoinSubs query. Apply fixes from StyleCI Use protected on unsupported upsert tests. Apply fixes from StyleCI Add failing test link to issue #586. Add all builder possible tests from framework. Add TODO notes on failing tests. Fix aggregate tests. Fix compileUnionAggregate and update tests. Remove unused var. Fix from query with alias. Fix fromSub query. Add tests. Add test for having sql. Remove table alias in run pagination count query with group. 8.x version of #614 with tests added.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Laravel 7.x query builder to perform an insert statement, however, the Oracle database trigger automatically creates a sequence number. I want to do two things:
public function store(Request $request)
$insert = DB::table('test_table')->insert([
return response()->json(array('message'=> $insert), 200);
}
}
The text was updated successfully, but these errors were encountered: