package orm

import (
	"gnd.la/orm/operation"
	"gnd.la/orm/query"
)

func (o *Orm) Operate(q query.Q, table *Table, op *operation.Operation) (Result, error) {
	return o.conn.Operate(table.model, q, op)
}

func (o *Orm) MustOperate(q query.Q, table *Table, op *operation.Operation) Result {
	res, err := o.Operate(q, table, op)
	if err != nil {
		panic(err)
	}
	return res
}

package orm

import (
	"gnd.la/orm/operation"
	"gnd.la/orm/query"
)

func (o *Orm) Operate(table *Table, q query.Q, op *operation.Operation) (Result, error) {
	return o.conn.Operate(table.model, q, op)
}

func (o *Orm) MustOperate(table *Table, q query.Q, op *operation.Operation) Result {
	res, err := o.Operate(table, q, op)
	if err != nil {
		panic(err)
	}
	return res
}

Make the *Table the 1st argument to Operate()
Make the *Table the 1st argument to Operate()

This way it looks closer to an UPDATE table...
