mage/db2

There is no license information available for the latest version (1.0.8) of this package.

Magento 2 module to load Laravel Eloquent with Magento

Installs: 28

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.8 2024-12-21 02:24 UTC

This package is auto-updated.

Last update: 2024-12-21 02:24:54 UTC


README

composer require mage/db2

Usage

use  Mage\DB2\DB2;

$isReturningCustomer = DB2::table('sales_order')
            ->where('customer_id', $customerId)
            ->where('entity_id', '<', $entityId)
            ->exists();
DB2::table('sales_order')->where('customer_id', 123)->get();