package orm

import 

type tableParams struct {
	table *Table
	strct reflect.Value
}

func ( interface{}) (*tableParams, bool) {
	 := reflect.ValueOf()
	if !.IsValid() {
		return nil, false
	}

	 = reflect.Indirect()
	if .Kind() != reflect.Struct {
		return nil, false
	}

	return &tableParams{
		table: GetTable(.Type()),
		strct: ,
	}, true
}

func ( *tableParams) ( QueryFormatter,  []byte,  string) ([]byte, bool) {
	return .table.AppendParam(, .strct, )
}