yajra / laravel-oci8

Oracle DB driver for Laravel via OCI8
https://yajrabox.com/docs/laravel-oci8
MIT License
834 stars 237 forks source link

fix yajra#882 - Due to conflict previous changes were reverted, synchronized repo. #888

Open Sudheert7 opened 2 months ago

Sudheert7 commented 2 months ago

Due to conflict previous changes were reverted, synchronized repo. fix yajra#882

yajra commented 1 month ago

I think this change will not execute the sequence syntax and will just return a string instead:

Example raw SQL

select 'users_id_seq.currval' as "id" from dual;

Output

"id"
users_id_seq.currval
Sudheert7 commented 1 month ago

fixed, line 154 reverted

create  sequence users_id_seq start with 1 increment by 1 nocycle cache 2;
select  users_id_seq.currval,users_id_seq.nextval  from dual;

Output:

CURRVAL NEXTVAL
1 1
yajra commented 1 month ago

Can you please provide snippets to reproduce the issue that is being fixed in this PR? Thanks!