func (mwfoq *MessageWithFieldOneQuery) Order(o ...OrderFunc) *MessageWithFieldOneQuery {
	mwfoq.order = append(mwfoq.order, o...)
	return mwfoq
}
Order adds an order step to the query.
package ent
import (
	"context"
	"errors"
	"fmt"
	"math"
	"entgo.io/contrib/entproto/internal/entprototest/ent/messagewithfieldone"
	"entgo.io/contrib/entproto/internal/entprototest/ent/predicate"
	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"entgo.io/ent/schema/field"
)
type MessageWithFieldOneQuery struct {
	config
	limit      *int
	offset     *int
	unique     *bool
	order      []OrderFunc
	fields     []string
	predicates []predicate.MessageWithFieldOne
	sql  *sql.Selector
	path func(context.Context) (*sql.Selector, error)
}
func (mwfoq *MessageWithFieldOneQuery) Where(ps ...predicate.MessageWithFieldOne) *MessageWithFieldOneQuery {
	mwfoq.predicates = append(mwfoq.predicates, ps...)
	return mwfoq
}
func (mwfoq *MessageWithFieldOneQuery) Limit(limit int) *MessageWithFieldOneQuery {
	mwfoq.limit = &limit
	return mwfoq
}
func (mwfoq *MessageWithFieldOneQuery) Offset(offset int) *MessageWithFieldOneQuery {
	mwfoq.offset = &offset
	return mwfoq
}
func (mwfoq *MessageWithFieldOneQuery) Unique(unique bool) *MessageWithFieldOneQuery {
	mwfoq.unique = &unique
	return mwfoq
}