Skip to content

Commit c740505

Browse files
Merge pull request #1000 from seaatif/master
Title: Update README.md with Chain Loaders Documentation (#1000) Description: This pull request updates the project's README.md file to include documentation for chain loaders. Chain loaders are a valuable feature, and adding documentation to the README will improve user experience and understanding. Changes: Commit f352384 adds documentation for chain loaders in the README.md file (specific details about the documentation can be omitted here, as reviewers can see the commit). Benefits: Enhances user experience by providing readily available documentation on chain loaders within the project. Improves code maintainability with clear documentation for a potentially complex feature. Testing: Additional Notes: Great catch by first-time contributor @seaatif (thanks!).
2 parents 727754c + f352384 commit c740505

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readme.md

+5
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@ $db->where ('id', 1);
446446
$db->where ('login', 'admin');
447447
$results = $db->get ('users');
448448
// Gives: SELECT * FROM users WHERE id=1 AND login='admin';
449+
450+
// Or you can also use Chain Loaders for above query
451+
$results = $db->where ('id', 1)
452+
->where ('login', 'admin')
453+
->get('users');
449454
```
450455

451456
```php

0 commit comments

Comments
 (0)