pudl icon indicating copy to clipboard operation
pudl copied to clipboard

Add $db->tables()->??? interface

Open darkain opened this issue 3 years ago • 0 comments

$db->tables(['list','of','tables']) should return a special pudlTables class instance that has a reference to the parent pudl object, and contains a number of methods dedicated to table operations.

"optimize table" "analyze table" "drop table" "rename table" (only works if 1 table in collection?)

Can be used anywhere a $tables value is expected (possibly where a $table value too, validating we only have a single table in the collection)

This will clear up the pudl namespace a bit. We're currently having conflicts with keywords like "analize"

darkain avatar May 12 '22 07:05 darkain