-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
add --stdin option to db:import #934
Comments
I think this is technically possible but requires an implementation. Any interest in taking care of this? |
I believe it would be more complex to achieve a Swapping the entire import routine to use proc_open could potentially be considered a BC break, since environments may have |
I quickly checked,
However with
I would guess that for large inputs You can use some of the stream handles directly with b/c break for exec/passthru/proc_open. Good question. Normally For implementation one might consider to use the special filename " |
Took an initial stab at this, wasn't sure exactly how you'd want it to fit into the command, so let me know what you think. I was surprised that in my initial test, it seems that |
Would it be possible to add the ability to import a DB via a pipe?
db:import always seems to expect a filename. db:dump has an --stdout parameter.
Is there a specific reason why there is no --stdin for db:import?
The text was updated successfully, but these errors were encountered: