func (q themeQuery) Count(ctx context.Context, exec boil.ContextExecutor) (int64, error) {
	var count int64

	queries.SetSelect(q.Query, nil)
	queries.SetCount(q.Query)

	err := q.Query.QueryRowContext(ctx, exec).Scan(&count)
	if err != nil {
		return 0, errors.Wrap(err, "models: failed to count themes rows")
	}

	return count, nil
}
// Count returns the count of all Theme records in the query.
Count returns the count of all Theme records in the query.
// Count returns the count of all Theme records in the query .
func (q themeQuery) Count(ctx context.Context, exec boil.ContextExecutor) (int64, error) {
	var count int64
	queries.SetSelect(q.Query, nil)
	queries.SetCount(q.Query)
	err := q.Query.QueryRowContext(ctx, exec).Scan(&count)
	if err != nil {
		return 0, errors.Wrap(err, "models: failed to count themes rows")
	}
	return count, nil
}
func ( q themeQuery ) Count ( ctx context . Context , exec boil . ContextExecutor ) ( int64 , error ) { var count int64 queries . SetSelect ( q . Query , nil ) queries . SetCount ( q . Query ) err := q . Query . QueryRowContext ( ctx , exec ) . Scan ( & count ) if err != nil { return 0 , errors . Wrap ( err , " " ) } return count , nil }
Count returns the count of all Theme records in the query.
Count returns the count of all Theme records in the query .