Commit b70fbfb9 authored by Faizal Aziz's avatar Faizal Aziz

adding create table in orm

parent 837bd946
...@@ -23,6 +23,7 @@ type ORM interface { ...@@ -23,6 +23,7 @@ type ORM interface {
Where(query interface{}, args ...interface{}) ORM Where(query interface{}, args ...interface{}) ORM
Order(value interface{}) ORM Order(value interface{}) ORM
Create(args interface{}) error Create(args interface{}) error
CreateTable(tableName string, structs interface{}) error
Update(args interface{}) error Update(args interface{}) error
UpdateColumns(args interface{}) error UpdateColumns(args interface{}) error
Delete(model interface{}, args ...interface{}) error Delete(model interface{}, args ...interface{}) error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment