Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

add compileInsertGetId and processInsertGetId method #15

Open
wants to merge 6 commits into
base: 5.1-support
Choose a base branch
from

Conversation

donnykurnia
Copy link
Contributor

taken from PostgresGrammar and PostgresProcessor classes as-is

I've check it in my project using php artisan tinker and it's working well
PS: this library need tests to make sure all methods working well

Signed-off-by: Donny Kurnia [email protected]

…resGrammar and PostgresProcessor classes as-is

I've check it in my project using php artisan tinker and it's working well
PS: this library need tests to make sure all methods working well

Signed-off-by: Donny Kurnia <[email protected]>
@donnykurnia
Copy link
Contributor Author

PS: This approach assume that the tables already have generator and trigger set for the id column.

@cedamorim
Copy link

nice approach, assuming that the tables that are using generator / sequence will be with trigger, I think this solves our problems

@jessesantos
Copy link

It works for Laravel 5.2?

@donnykurnia
Copy link
Contributor Author

@jessesantos my fork only tested for laravel 5.1, because my project still use it for now.

@johanWP
Copy link

johanWP commented Nov 9, 2016

Does it work with PHP7?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants