This repository was archived by the owner on Mar 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 88[ ![ GitHub Tests Action Status] ( https://img.shields.io/github/workflow/status/michael-rubel/laravel-sql-function-repository/run-tests/main?style=flat-square&label=tests&logo=github )] ( https://github.com/michael-rubel/laravel-sql-function-repository/actions )
99[ ![ PHPStan] ( https://img.shields.io/github/workflow/status/michael-rubel/laravel-sql-function-repository/phpstan/main?style=flat-square&label=larastan&logo=laravel )] ( https://github.com/michael-rubel/laravel-sql-function-repository/actions )
1010
11- This packages provides repository class to execute SQL functions available in the database.
11+ This packages provides repository class to execute SQL functions available in the PostgreSQL database.
1212
1313---
1414
@@ -25,7 +25,11 @@ composer require michael-rubel/laravel-sql-function-repository
2525
2626## Usage
2727``` php
28- // Your description.
28+ $repository = app(SqlFunctionRepository::class);
29+ $repository->runDatabaseFunction('yourFunctionName', [
30+ 'functionParameter1',
31+ 'functionParameter2',
32+ ]);
2933```
3034
3135Publish the config:
You can’t perform that action at this time.
0 commit comments