(ctx context.Context, col string, req *model.CreateRequest)
| 54 | // Crud abstracts the implementation crud operations of databases |
| 55 | type Crud interface { |
| 56 | Create(ctx context.Context, col string, req *model.CreateRequest) (int64, error) |
| 57 | Read(ctx context.Context, col string, req *model.ReadRequest) (int64, interface{}, map[string]map[string]string, *model.SQLMetaData, error) |
| 58 | Update(ctx context.Context, col string, req *model.UpdateRequest) (int64, error) |
| 59 | Delete(ctx context.Context, col string, req *model.DeleteRequest) (int64, error) |
no outgoing calls