PHP 클래스 Doctrine\MongoDB\Aggregation\Stage\Operator

부터: 1.2
저자: alcaeus ([email protected])
상속: extends Doctrine\MongoDB\Aggregation\Stage
파일 보기 프로젝트 열기: doctrine/mongodb 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$expr Doctrine\MongoDB\Aggregation\Expr

공개 메소드들

메소드 설명
__construct ( Builder $builder )
abs ( mixed | Expr $number ) Returns the absolute value of a number.
add ( mixed | Expr $expression1, mixed | Expr $expression2 ) Adds numbers together or adds numbers and a date. If one of the arguments is a date, $add treats the other arguments as milliseconds to add to the date.
addAnd ( array | Expr $expression ) Add one or more $and clauses to the current expression.
addOr ( array | Expr $expression ) Add one or more $or clauses to the current expression.
allElementsTrue ( mixed | Expr $expression ) Evaluates an array as a set and returns true if no element in the array is false. Otherwise, returns false. An empty array returns true.
anyElementTrue ( array | Expr $expression ) Evaluates an array as a set and returns true if any of the elements are true and false otherwise. An empty array returns false.
arrayElemAt ( mixed | Expr $array, mixed | Expr $index ) Returns the element at the specified array index.
ceil ( mixed | Expr $number ) Returns the smallest integer greater than or equal to the specified number.
cmp ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns: -1 if the first value is less than the second.
concat ( mixed | Expr $expression1, mixed | Expr $expression2 ) Concatenates strings and returns the concatenated string.
concatArrays ( mixed | Expr $array1, mixed | Expr $array2 ) Concatenates arrays to return the concatenated array.
cond ( mixed | Expr $if, mixed | Expr $then, mixed | Expr $else ) Evaluates a boolean expression to return one of the two specified return expressions.
dateToString ( string $format, mixed | Expr $expression ) Converts a date object to a string according to a user-specified format.
dayOfMonth ( mixed | Expr $expression ) Returns the day of the month for a date as a number between 1 and 31.
dayOfWeek ( mixed | Expr $expression ) Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday).
dayOfYear ( mixed | Expr $expression ) Returns the day of the year for a date as a number between 1 and 366.
divide ( mixed | Expr $expression1, mixed | Expr $expression2 ) Divides one number by another and returns the result. The first argument is divided by the second argument.
eq ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns whether they are equivalent.
exp ( mixed | Expr $exponent ) Raises Euler’s number to the specified exponent and returns the result.
expression ( mixed | Expr $value ) Used to use an expression as field value. Can be any expression
field ( string $fieldName ) Set the current field for building the expression.
filter ( mixed | Expr $input, mixed | Expr $as, mixed | Expr $cond ) Selects a subset of the array to return based on the specified condition.
floor ( mixed | Expr $number ) Returns the largest integer less than or equal to the specified number.
gt ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns: true when the first value is greater than the second value.
gte ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns: true when the first value is greater than or equivalent to the second value.
hour ( mixed | Expr $expression ) Returns the hour portion of a date as a number between 0 and 23.
ifNull ( mixed | Expr $expression, mixed | Expr $replacementExpression ) Evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value. If the expression evaluates to a null value, including instances of undefined values or missing fields, returns the value of the replacement expression.
isArray ( mixed | Expr $expression ) Determines if the operand is an array. Returns a boolean.
let ( mixed | Expr $vars, mixed | Expr $in ) Binds variables for use in the specified expression, and returns the result of the expression.
literal ( mixed | Expr $value ) Returns a value without parsing. Use for values that the aggregation pipeline may interpret as an expression.
ln ( mixed | Expr $number ) Calculates the natural logarithm ln (i.e loge) of a number and returns the result as a double.
log ( mixed | Expr $number, mixed | Expr $base ) Calculates the log of a number in the specified base and returns the result as a double.
log10 ( mixed | Expr $number ) Calculates the log base 10 of a number and returns the result as a double.
lt ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns: true when the first value is less than the second value.
lte ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns: true when the first value is less than or equivalent to the second value.
map ( mixed | Expr $input, string $as, mixed | Expr $in ) Applies an expression to each item in an array and returns an array with the applied results.
meta ( $metaDataKeyword ) Returns the metadata associated with a document in a pipeline operations.
millisecond ( mixed | Expr $expression ) Returns the millisecond portion of a date as an integer between 0 and 999.
minute ( mixed | Expr $expression ) Returns the minute portion of a date as a number between 0 and 59.
mod ( mixed | Expr $expression1, mixed | Expr $expression2 ) Divides one number by another and returns the remainder. The first argument is divided by the second argument.
month ( mixed | Expr $expression ) Returns the month of a date as a number between 1 and 12.
multiply ( mixed | Expr $expression1, mixed | Expr $expression2 ) Multiplies numbers together and returns the result.
ne ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two values and returns: true when the values are not equivalent.
not ( mixed | Expr $expression ) Evaluates a boolean and returns the opposite boolean value.
pow ( mixed | Expr $number, mixed | Expr $exponent ) Raises a number to the specified exponent and returns the result.
second ( mixed | Expr $expression ) Returns the second portion of a date as a number between 0 and 59, but can be 60 to account for leap seconds.
setDifference ( mixed | Expr $expression1, mixed | Expr $expression2 ) Takes two sets and returns an array containing the elements that only exist in the first set.
setEquals ( mixed | Expr $expression1, mixed | Expr $expression2 ) Compares two or more arrays and returns true if they have the same distinct elements and false otherwise.
setIntersection ( mixed | Expr $expression1, mixed | Expr $expression2 ) Takes two or more arrays and returns an array that contains the elements that appear in every input array.
setIsSubset ( mixed | Expr $expression1, mixed | Expr $expression2 ) Takes two arrays and returns true when the first array is a subset of the second, including when the first array equals the second array, and false otherwise.
setUnion ( mixed | Expr $expression1, mixed | Expr $expression2 ) Takes two or more arrays and returns an array containing the elements that appear in any input array.
size ( mixed | Expr $expression ) Counts and returns the total the number of items in an array.
slice ( mixed | Expr $array, mixed | Expr $n, mixed | Expr | null $position = null ) Returns a subset of an array.
sqrt ( mixed | Expr $expression ) Calculates the square root of a positive number and returns the result as a double.
strcasecmp ( mixed | Expr $expression1, mixed | Expr $expression2 ) Performs case-insensitive comparison of two strings. Returns 1 if first string is “greater than” the second string.
substr ( mixed | Expr $string, mixed | Expr $start, mixed | Expr $length ) Returns a substring of a string, starting at a specified index position and including the specified number of characters. The index is zero-based.
subtract ( mixed | Expr $expression1, mixed | Expr $expression2 ) Subtracts two numbers to return the difference. The second argument is subtracted from the first argument.
toLower ( mixed | Expr $expression ) Converts a string to lowercase, returning the result.
toUpper ( mixed | Expr $expression ) Converts a string to uppercase, returning the result.
trunc ( mixed | Expr $number ) Truncates a number to its integer.
week ( mixed | Expr $expression ) Returns the week of the year for a date as a number between 0 and 53.
year ( mixed | Expr $expression ) Returns the year portion of a date.

메소드 상세

__construct() 공개 메소드

public __construct ( Builder $builder )
$builder Doctrine\MongoDB\Aggregation\Builder

abs() 공개 메소드

The argument can be any valid expression as long as it resolves to a number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/abs/
또한 보기: Expr::abs
부터: 1.3
public abs ( mixed | Expr $number )
$number mixed | Doctrine\MongoDB\Aggregation\Expr

add() 공개 메소드

The arguments can be any valid expression as long as they resolve to either all numbers or to numbers and a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/add/
또한 보기: Expr::add
public add ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

addAnd() 공개 메소드

Add one or more $and clauses to the current expression.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/and/
또한 보기: Expr::addAnd
public addAnd ( array | Expr $expression )
$expression array | Doctrine\MongoDB\Aggregation\Expr

addOr() 공개 메소드

Add one or more $or clauses to the current expression.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/or/
또한 보기: Expr::addOr
public addOr ( array | Expr $expression )
$expression array | Doctrine\MongoDB\Aggregation\Expr

allElementsTrue() 공개 메소드

The expression must resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/allElementsTrue/
또한 보기: Expr::allElementsTrue
public allElementsTrue ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

anyElementTrue() 공개 메소드

The expression must resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/anyElementTrue/
또한 보기: Expr::anyElementTrue
public anyElementTrue ( array | Expr $expression )
$expression array | Doctrine\MongoDB\Aggregation\Expr

arrayElemAt() 공개 메소드

The expression can be any valid expression as long as it resolves to an array. The expression can be any valid expression as long as it resolves to an integer.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/arrayElemAt/
또한 보기: Expr::arrayElemAt
부터: 1.3
public arrayElemAt ( mixed | Expr $array, mixed | Expr $index )
$array mixed | Doctrine\MongoDB\Aggregation\Expr
$index mixed | Doctrine\MongoDB\Aggregation\Expr

ceil() 공개 메소드

The expression can be any valid expression as long as it resolves to a number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/ceil/
또한 보기: Expr::ceil
부터: 1.3
public ceil ( mixed | Expr $number )
$number mixed | Doctrine\MongoDB\Aggregation\Expr

cmp() 공개 메소드

1 if the first value is greater than the second. 0 if the two values are equivalent.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/cmp/
또한 보기: Expr::cmp
public cmp ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

concat() 공개 메소드

The arguments can be any valid expression as long as they resolve to strings. If the argument resolves to a value of null or refers to a field that is missing, $concat returns null.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/concat/
또한 보기: Expr::concat
public concat ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

concatArrays() 공개 메소드

The expressions can be any valid expression as long as they resolve to an array.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/concatArrays/
또한 보기: Expr::concatArrays
부터: 1.3
public concatArrays ( mixed | Expr $array1, mixed | Expr $array2 )
$array1 mixed | Doctrine\MongoDB\Aggregation\Expr
$array2 mixed | Doctrine\MongoDB\Aggregation\Expr

cond() 공개 메소드

The arguments can be any valid expression.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/cond/
또한 보기: Expr::cond
public cond ( mixed | Expr $if, mixed | Expr $then, mixed | Expr $else )
$if mixed | Doctrine\MongoDB\Aggregation\Expr
$then mixed | Doctrine\MongoDB\Aggregation\Expr
$else mixed | Doctrine\MongoDB\Aggregation\Expr

dateToString() 공개 메소드

The format string can be any string literal, containing 0 or more format specifiers. The date argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/dateToString/
또한 보기: Expr::dateToString
public dateToString ( string $format, mixed | Expr $expression )
$format string
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

dayOfMonth() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/dayOfMonth/
또한 보기: Expr::dayOfMonth
public dayOfMonth ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

dayOfWeek() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/dayOfWeek/
또한 보기: Expr::dayOfWeek
public dayOfWeek ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

dayOfYear() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/dayOfYear/
또한 보기: Expr::dayOfYear
public dayOfYear ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

divide() 공개 메소드

The arguments can be any valid expression as long as the resolve to numbers.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/divide/
또한 보기: Expr::divide
public divide ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

eq() 공개 메소드

Compares two values and returns whether they are equivalent.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/eq/
또한 보기: Expr::eq
public eq ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

exp() 공개 메소드

The expression can be any valid expression as long as it resolves to a number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/exp/
또한 보기: Expr::exp
부터: 1.3
public exp ( mixed | Expr $exponent )
$exponent mixed | Doctrine\MongoDB\Aggregation\Expr

expression() 공개 메소드

Used to use an expression as field value. Can be any expression
또한 보기: http://docs.mongodb.org/manual/meta/aggregation-quick-reference/#aggregation-expressions
또한 보기: Expr::expression
public expression ( mixed | Expr $value )
$value mixed | Doctrine\MongoDB\Aggregation\Expr

field() 공개 메소드

Set the current field for building the expression.
또한 보기: Expr::field
public field ( string $fieldName )
$fieldName string

filter() 공개 메소드

Returns an array with only those elements that match the condition. The returned elements are in the original order.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/filter/
또한 보기: Expr::filter
부터: 1.3
public filter ( mixed | Expr $input, mixed | Expr $as, mixed | Expr $cond )
$input mixed | Doctrine\MongoDB\Aggregation\Expr
$as mixed | Doctrine\MongoDB\Aggregation\Expr
$cond mixed | Doctrine\MongoDB\Aggregation\Expr

floor() 공개 메소드

The expression can be any valid expression as long as it resolves to a number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/floor/
또한 보기: Expr::floor
부터: 1.3
public floor ( mixed | Expr $number )
$number mixed | Doctrine\MongoDB\Aggregation\Expr

gt() 공개 메소드

false when the first value is less than or equivalent to the second value.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/gt/
또한 보기: Expr::gt
public gt ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

gte() 공개 메소드

false when the first value is less than the second value.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/gte/
또한 보기: Expr::gte
public gte ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

hour() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/hour/
또한 보기: Expr::hour
public hour ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

ifNull() 공개 메소드

The arguments can be any valid expression.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/ifNull/
또한 보기: Expr::ifNull
public ifNull ( mixed | Expr $expression, mixed | Expr $replacementExpression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr
$replacementExpression mixed | Doctrine\MongoDB\Aggregation\Expr

isArray() 공개 메소드

The can be any valid expression.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/isArray/
또한 보기: Expr::isArray
부터: 1.3
public isArray ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

let() 공개 메소드

Binds variables for use in the specified expression, and returns the result of the expression.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/let/
또한 보기: Expr::let
public let ( mixed | Expr $vars, mixed | Expr $in )
$vars mixed | Doctrine\MongoDB\Aggregation\Expr Assignment block for the variables accessible in the in expression. To assign a variable, specify a string for the variable name and assign a valid expression for the value.
$in mixed | Doctrine\MongoDB\Aggregation\Expr The expression to evaluate.

literal() 공개 메소드

Returns a value without parsing. Use for values that the aggregation pipeline may interpret as an expression.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/literal/
또한 보기: Expr::literal
public literal ( mixed | Expr $value )
$value mixed | Doctrine\MongoDB\Aggregation\Expr

ln() 공개 메소드

The expression can be any valid expression as long as it resolves to a non-negative number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/log/
또한 보기: Expr::ln
부터: 1.3
public ln ( mixed | Expr $number )
$number mixed | Doctrine\MongoDB\Aggregation\Expr

log() 공개 메소드

The expression can be any valid expression as long as it resolves to a non-negative number. The expression can be any valid expression as long as it resolves to a positive number greater than 1.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/log/
또한 보기: Expr::log
부터: 1.3
public log ( mixed | Expr $number, mixed | Expr $base )
$number mixed | Doctrine\MongoDB\Aggregation\Expr
$base mixed | Doctrine\MongoDB\Aggregation\Expr

log10() 공개 메소드

The expression can be any valid expression as long as it resolves to a non-negative number. The expression can be any valid expression as long as it resolves to a positive number greater than 1.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/log/
또한 보기: Expr::log10
부터: 1.3
public log10 ( mixed | Expr $number )
$number mixed | Doctrine\MongoDB\Aggregation\Expr

lt() 공개 메소드

false when the first value is greater than or equivalent to the second value.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/lt/
또한 보기: Expr::lt
public lt ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

lte() 공개 메소드

false when the first value is greater than the second value.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/lte/
또한 보기: Expr::lte
public lte ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

map() 공개 메소드

Applies an expression to each item in an array and returns an array with the applied results.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/map/
또한 보기: Expr::map
public map ( mixed | Expr $input, string $as, mixed | Expr $in )
$input mixed | Doctrine\MongoDB\Aggregation\Expr An expression that resolves to an array.
$as string The variable name for the items in the input array. The in expression accesses each item in the input array by this variable.
$in mixed | Doctrine\MongoDB\Aggregation\Expr The expression to apply to each item in the input array. The expression accesses the item by its variable name.

meta() 공개 메소드

Returns the metadata associated with a document in a pipeline operations.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/meta/
또한 보기: Expr::meta
public meta ( $metaDataKeyword )
$metaDataKeyword

millisecond() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/millisecond/
또한 보기: Expr::millisecond
public millisecond ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

minute() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/minute/
또한 보기: Expr::minute
public minute ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

mod() 공개 메소드

The arguments can be any valid expression as long as they resolve to numbers.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/mod/
또한 보기: Expr::mod
public mod ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

month() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/month/
또한 보기: Expr::month
public month ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

multiply() 공개 메소드

The arguments can be any valid expression as long as they resolve to numbers.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/multiply/
또한 보기: Expr::multiply
public multiply ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

ne() 공개 메소드

false when the values are equivalent.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/ne/
또한 보기: Expr::ne
public ne ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

not() 공개 메소드

Evaluates a boolean and returns the opposite boolean value.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/not/
또한 보기: Expr::not
public not ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

pow() 공개 메소드

The expression can be any valid expression as long as it resolves to a non-negative number. The expression can be any valid expression as long as it resolves to a number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/pow/
또한 보기: Expr::pow
부터: 1.3
public pow ( mixed | Expr $number, mixed | Expr $exponent )
$number mixed | Doctrine\MongoDB\Aggregation\Expr
$exponent mixed | Doctrine\MongoDB\Aggregation\Expr

second() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/second/
또한 보기: Expr::second
public second ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

setDifference() 공개 메소드

The arguments can be any valid expression as long as they each resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/setDifference/
또한 보기: Expr::setDifference
public setDifference ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

setEquals() 공개 메소드

The arguments can be any valid expression as long as they each resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/setEquals/
또한 보기: Expr::setEquals
public setEquals ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

setIntersection() 공개 메소드

The arguments can be any valid expression as long as they each resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/setIntersection/
또한 보기: Expr::setIntersection
public setIntersection ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

setIsSubset() 공개 메소드

The arguments can be any valid expression as long as they each resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/setIsSubset/
또한 보기: Expr::setIsSubset
public setIsSubset ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

setUnion() 공개 메소드

The arguments can be any valid expression as long as they each resolve to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/setUnion/
또한 보기: Expr::setUnion
public setUnion ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

size() 공개 메소드

The argument can be any expression as long as it resolves to an array.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/size/
또한 보기: Expr::size
public size ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

slice() 공개 메소드

Returns a subset of an array.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/slice/
또한 보기: Expr::slice
부터: 1.3
public slice ( mixed | Expr $array, mixed | Expr $n, mixed | Expr | null $position = null )
$array mixed | Doctrine\MongoDB\Aggregation\Expr
$n mixed | Doctrine\MongoDB\Aggregation\Expr
$position mixed | Doctrine\MongoDB\Aggregation\Expr | null

sqrt() 공개 메소드

The argument can be any valid expression as long as it resolves to a non-negative number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/sqrt/
또한 보기: Expr::sqrt
public sqrt ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

strcasecmp() 공개 메소드

0 if the two strings are equal. -1 if the first string is “less than” the second string. The arguments can be any valid expression as long as they resolve to strings.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/strcasecmp/
또한 보기: Expr::strcasecmp
public strcasecmp ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

substr() 공개 메소드

The arguments can be any valid expression as long as long as the first argument resolves to a string, and the second and third arguments resolve to integers.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/substr/
또한 보기: Expr::substr
public substr ( mixed | Expr $string, mixed | Expr $start, mixed | Expr $length )
$string mixed | Doctrine\MongoDB\Aggregation\Expr
$start mixed | Doctrine\MongoDB\Aggregation\Expr
$length mixed | Doctrine\MongoDB\Aggregation\Expr

subtract() 공개 메소드

The arguments can be any valid expression as long as they resolve to numbers and/or dates.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/subtract/
또한 보기: Expr::subtract
public subtract ( mixed | Expr $expression1, mixed | Expr $expression2 )
$expression1 mixed | Doctrine\MongoDB\Aggregation\Expr
$expression2 mixed | Doctrine\MongoDB\Aggregation\Expr

toLower() 공개 메소드

The argument can be any expression as long as it resolves to a string.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/toLower/
또한 보기: Expr::toLower
public toLower ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

toUpper() 공개 메소드

The argument can be any expression as long as it resolves to a string.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/toUpper/
또한 보기: Expr::toUpper
public toUpper ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

trunc() 공개 메소드

The expression can be any valid expression as long as it resolves to a number.
또한 보기: https://docs.mongodb.org/manual/reference/operator/aggregation/trunc/
또한 보기: Expr::trunc
부터: 1.3
public trunc ( mixed | Expr $number )
$number mixed | Doctrine\MongoDB\Aggregation\Expr

week() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/week/
또한 보기: Expr::week
public week ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

year() 공개 메소드

The argument can be any expression as long as it resolves to a date.
또한 보기: http://docs.mongodb.org/manual/reference/operator/aggregation/year/
또한 보기: Expr::year
public year ( mixed | Expr $expression )
$expression mixed | Doctrine\MongoDB\Aggregation\Expr

프로퍼티 상세

$expr 보호되어 있는 프로퍼티

protected Expr,Doctrine\MongoDB\Aggregation $expr
리턴 Doctrine\MongoDB\Aggregation\Expr