-
Notifications
You must be signed in to change notification settings - Fork 29
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 methods to clone/copy an entire database table #38
Comments
This commit wraps the SQL necessary to clone a table and copy its contents into 2 separate helper methods. Fixes #38.
This commit wraps the SQL necessary to clone a table and copy its contents into 2 separate helper methods. Fixes #38.
Turns out that That means PHP versions like 5.6 will complain about the Going to keep the code as is for now, but noting it in case anyone else gets caught with
|
@JJJ Do you have any thoughts about adding the fix from awesomemotive/sugarcalendar-core#105 to the library directly? When managing BerlinDB with Composer and using PHP 5.6 (which isn't explicitly not supported) the |
@spencerfinnell Probably worth porting that fix here and removing it when 5.6 support gets dropped? |
@JJJ I think that makes the most sense. I'm 100% certain I'm going to forget to edit it one day and break 5.6 compatibility accidentally :( |
Just as the title says, the
Table
class currently lacks any method(s) related to taking all of the data in the current table and copying it (temporarily or permanently) to another table/location.The text was updated successfully, but these errors were encountered: