-
Notifications
You must be signed in to change notification settings - Fork 22
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 stmt not inserting anything #10
Comments
I narrowed it down to two examples My env:
P.S. that 'options' piece has no effect include/exclude on will
Here's that same code from
it kinda succeeds but table is empty And here's almost same code but using bare PDO
This code ACTUALLY succeeds resulting in data displayed in the table So something's wrong about the package here... |
P.S. when I look at query log (DB::getQueryLog()) |
I'll have to use bare PDO for now 😔 |
@c00p3r let me see and let me comment on some of your questions. Please note; that I have recently added the pdo_snowflake and not all parts of the documentation are up-to-date. I have been testing it in the same way as you did:
I'll do some more extensive testing if I can figure out where the problem lies. |
@yoramdelangen thanks for your reply
that's all I needed to get INSERT operations work using query builder! e.g.
next, since I needed CREATE/DROP TABLE operations I had to 'borrow' some classes from your package (btw they have a lot of errors! I use larastan in my project and it throwed a lot of errors at me. You gotta check your project with smtn like larastan) and I implemented couple methods in my Connection class
that did it and I managed to do Schema type operations e.g.
I hope this info helps you figuring out the issue |
So I installed
pdo_snowflake
oficial driver and this packageIt finally works more or less
BUT
I create a table - works
I wanna insert data into that table - FAILS
I'm using laravel query builder like so
and
$res
equalstrue
but when I look at DB table - it's empty
If I copy raw sql and execute it - works
so my sql is CORRECT
My guess it's smtn specific to package
So I wonder if that's related to issue described in docs:
My question is how do I go from here? What should I do to make it work?
use
CustomStatement
class? but how? It's not clear@yoramdelangen please help me out!
The text was updated successfully, but these errors were encountered: