insert into layout_datasources (name, description, package_key, constructor, destructor) values (:name, :description, :package_key, :constructor, :destructor) select * from layout_datasources where name = :name delete from layout_datasources where name = :name