承接 laravel-hrdk/laravel-s-p-multi-response 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

laravel-hrdk/laravel-s-p-multi-response

Composer 安装命令:

composer require laravel-hrdk/laravel-s-p-multi-response

包简介

LaravelSPMultiResponse is a powerful Laravel package designed to streamline the execution of SQL stored procedures with the capability to handle multiple response sets effortlessly. With this package, you can seamlessly integrate stored procedures into your Laravel application, simplifying database

关键字:

README 文档

README

LaravelSPMultiResponse is a powerful Laravel package designed to streamline the execution of SQL stored procedures with the capability to handle multiple response sets effortlessly. With this package, you can seamlessly integrate stored procedures into your Laravel application, simplifying database interactions and enhancing performance. Say goodbye to complex database queries and hello to efficient, organized, and scalable database operations with LaravelSPMultiResponse.

Installation

Use the composer to install laravel-s-p-multi-response.

composer required laravel-s-p-multi-response

Usage

After installation, you can use the package by importing the SPMultiResponse class and the Laravel App facade.

Create an instance of the SPMultiResponse class using App::make().

Call the desired stored procedure using the callStoredProcedure() method, providing the procedure name and an array of parameters.

Receive and work with the multiple response sets returned by the stored procedure.

Here's a sample code snippet:

use laravel_hrdk\LaravelSPMultiResponse\SPMultiResponse;
use Illuminate\Support\Facades\App;

// Create an instance of SPMultiResponse
$service = App::make(SPMultiResponse::class);

// Call the stored procedure and pass parameters
$multipleRowsets = $service->callStoredProcedure('store_procedure_name', ['param1', 'param2', '...']);

// Display the multiple response sets
dd($multipleRowsets);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-01