// Code generated by goctl. DO NOT EDIT. package model import ( "context" "fmt" "strings" ) func (m *defaultFsProductModel3dLightModel) ListByIds(ctx context.Context, ids []string) (resp []FsProductModel3dLight, err error) { query := fmt.Sprintf("select %s from %s where `id` in (?)", fsProductModel3dLightRows, m.table) err = m.conn.QueryRowsCtx(ctx, &resp, query, strings.Join(ids, ",")) if err != nil { return nil, err } return }