This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf groupinstall "Development Tools" | |
sudo dnf groupinstall "C Development Tools and Libraries" | |
sudo dnf install dkms elfutils-libelf-devel unzip | |
git clone https://github.com/aircrack-ng/rtl8812au.git | |
cd rtl8812au |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Bitrix\Main\ORM\Entity; | |
use Bitrix\Main\ORM\Fields\IntegerField; | |
use Bitrix\Main\ORM\Fields\StringField; | |
use Bitrix\Main\ORM\Query\Filter\ConditionTree; | |
use Bitrix\Main\ORM\Query\Query; | |
// Создаём фейковую сущность только с нужными нам полями | |
$fakeEntity = Entity::compileEntity( | |
'MY_ORDER_PROPS_VARIANT', | |
[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mapping | |
{ | |
"properties": { | |
"id": { | |
"type": "integer" | |
}, | |
"active": { | |
"type": "keyword" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query | |
{ | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"terms": { | |
"active": [ | |
true | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query | |
{ | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"terms": { | |
"active": [ | |
true | |
] |
OlderNewer