定制 fairwic/mongo-orm 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fairwic/mongo-orm

最新稳定版本:1.0.2

Composer 安装命令:

composer require fairwic/mongo-orm

包简介

build in fastmongo.mongo orm

README 文档

README

Latest Stable Version Total Downloads [GitHub license

基于reasno/fastmongo 实现的协程化 MongoDB客户端ORM

<?php

declare(strict_types=1);

namespace App\Mongo;

use App\Constants\GroupConstans;
use App\Es\Group\GroupEs;
use App\Exception\TransactionsException;
use App\Model\Base\Group;
use App\Model\Customercare\CustomercareModel;
use App\Model\UserModel;
use App\Services\Group\GroupMemberService;
use App\Services\Group\GroupService;
use App\Utils\GlobalContext;
use Carbon\Carbon;
use DateTime;
use DateTimeZone;
use fairwic\MongoOrm\DocumentArr;
use fairwic\MongoOrm\Elasticsearch\EsInstanceInterface;
use fairwic\MongoOrm\MongoBasic;
use fairwic\MongoOrm\MongoCollection;
use fairwic\MongoOrm\MongoModel;
use Hyperf\Context\ApplicationContext;
use Hyperf\Database\Model\Builder;
use Hyperf\Database\Model\Collection;
use Hyperf\GoTask\MongoClient\Type\InsertManyResult;
use Hyperf\Stringable\Str;
use Hyperf\Utils\HigherOrderTapProxy;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;


class GroupMongo extends MongoModel implements EsInstanceInterface
{
    protected string $database_name = "pxb7_im";
    /**
     * mongo document name
     * @var string
     */
    protected string $document_name = "im_group";
    /**
     * es index name
     * @var string
     */
    protected string $index_name = "group";

    protected bool $isSoftDelete = true;

统计信息

  • 总下载量: 84
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-06