Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Commit cd60366

Browse files
committed
update readme
1 parent 7a0971d commit cd60366

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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

3135
Publish the config:

0 commit comments

Comments
 (0)