gocraft/dbr

how exec raw sql

tablecell opened this issue · 3 comments

like create table / alter table

in general ddl is not managed with/in scope of dbr. you can find other migration tools and vcs to manage that.

You can just use session.Exec(ddl), but it won't notify event receiver. session.InsertBySql or session.UpdateBySql works and notify your event receiver.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.