To handle cases where an insert statement is created with empty insert data

Fix for insert statement with empty array without object i.e. []. currently it is issuing select * from table_name in this case.
For array with empty object, it will behave as default.