[DEPENDENCIES] Add oroinc/doctrine-extensions, which provides cross database platform date functions
This commit is contained in:
parent
a0b820fd76
commit
8ad8546aab
@ -14,6 +14,7 @@
|
||||
"lstrojny/functional-php": "^1.11",
|
||||
"nyholm/psr7": "^1.4",
|
||||
"odolbeau/phone-number-bundle": "^3.1",
|
||||
"oro/doctrine-extensions": "^2.0",
|
||||
"php-ds/php-ds": "^1.2",
|
||||
"sensio/framework-extra-bundle": "^5.2",
|
||||
"someonewithpc/memcached-polyfill": "^1.0",
|
||||
|
60
composer.lock
generated
60
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "0bd8b9c03f5794a6f8f2b8cbbcce627d",
|
||||
"content-hash": "ef575f9f5e9a28fce10f495f751cc37f",
|
||||
"packages": [
|
||||
{
|
||||
"name": "alchemy/resource-component",
|
||||
@ -2987,6 +2987,64 @@
|
||||
},
|
||||
"time": "2021-04-12T08:30:59+00:00"
|
||||
},
|
||||
{
|
||||
"name": "oro/doctrine-extensions",
|
||||
"version": "2.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/oroinc/doctrine-extensions.git",
|
||||
"reference": "b3a3154a23016e9304e2d9fd1eaa977bfbb545cc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/oroinc/doctrine-extensions/zipball/b3a3154a23016e9304e2d9fd1eaa977bfbb545cc",
|
||||
"reference": "b3a3154a23016e9304e2d9fd1eaa977bfbb545cc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"doctrine/orm": ">=2.6",
|
||||
"php": ">=7.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/data-fixtures": "^1.3",
|
||||
"phpunit/phpunit": "9.*",
|
||||
"squizlabs/php_codesniffer": "3.5.*",
|
||||
"symfony/yaml": "5.*"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Oro\\DBAL\\": "src/Oro/DBAL",
|
||||
"Oro\\ORM\\": "src/Oro/ORM"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Oro, Inc",
|
||||
"homepage": "https://oroinc.com/"
|
||||
}
|
||||
],
|
||||
"description": "Doctrine Extensions for MySQL and PostgreSQL.",
|
||||
"homepage": "https://github.com/oroinc/doctrine-extensions/",
|
||||
"keywords": [
|
||||
"database",
|
||||
"doctrine",
|
||||
"dql",
|
||||
"function",
|
||||
"mysql",
|
||||
"postgresql",
|
||||
"type"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/oroinc/doctrine-extensions/issues",
|
||||
"source": "https://github.com/oroinc/doctrine-extensions/tree/2.0.0"
|
||||
},
|
||||
"time": "2021-01-13T00:49:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "oscarotero/html-parser",
|
||||
"version": "v0.1.6",
|
||||
|
@ -15,3 +15,33 @@ doctrine:
|
||||
# dir: '%kernel.project_dir%/src/Entity'
|
||||
# prefix: 'App\Entity'
|
||||
# alias: App
|
||||
dql:
|
||||
datetime_functions:
|
||||
date: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
time: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
timestamp: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
convert_tz: Oro\ORM\Query\AST\Functions\DateTime\ConvertTz
|
||||
numeric_functions:
|
||||
timestampdiff: Oro\ORM\Query\AST\Functions\Numeric\TimestampDiff
|
||||
dayofyear: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
dayofmonth: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
dayofweek: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
week: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
day: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
hour: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
minute: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
month: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
quarter: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
second: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
year: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
sign: Oro\ORM\Query\AST\Functions\Numeric\Sign
|
||||
pow: Oro\ORM\Query\AST\Functions\Numeric\Pow
|
||||
round: Oro\ORM\Query\AST\Functions\Numeric\Round
|
||||
ceil: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
string_functions:
|
||||
md5: Oro\ORM\Query\AST\Functions\SimpleFunction
|
||||
group_concat: Oro\ORM\Query\AST\Functions\String\GroupConcat
|
||||
concat_ws: Oro\ORM\Query\AST\Functions\String\ConcatWs
|
||||
cast: Oro\ORM\Query\AST\Functions\Cast
|
||||
replace: Oro\ORM\Query\AST\Functions\String\Replace
|
||||
date_format: Oro\ORM\Query\AST\Functions\String\DateFormat
|
||||
|
@ -190,6 +190,9 @@
|
||||
"ref": "4388686329b81291918a948cd42891829fb1de71"
|
||||
}
|
||||
},
|
||||
"oro/doctrine-extensions": {
|
||||
"version": "2.0.0"
|
||||
},
|
||||
"oscarotero/html-parser": {
|
||||
"version": "v0.1.6"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user