<commit_before># DbConnector

This library allow you to connect with Oracle database without concern about all the oci_* functions

## Example

```php
<?php
$_dataSource = array(
	'username' => 'hr',
	'password' => '<PASSWORD>',
	'service' => '//localhost/XE',
	'persistent' => true
);
$dbo_conn = DbConnector\DboSource::connect(array('connector' => 'oracle'));
$connector = $dbo_conn->getConnector()->setDataSource($_dataSource)->openConnection();
```

To fetch results of some query

```php
$query = 'select * from dual';
$result = $connector->fetchAll($stid);
print_r($result);
```<commit_msg>Changed doc of fetch results<commit_after># DbConnector

This library allow you to connect with Oracle database without concern about all the oci_* functions

## Example

```php
<?php
$_dataSource = array(
	'username' => 'hr',
	'password' => '<PASSWORD>',
	'service' => '//localhost/XE',
	'persistent' => true
);
$dbo_conn = DbConnector\DboSource::connect(array('connector' => 'oracle'));
$connector = $dbo_conn->getConnector()->setDataSource($_dataSource)->openConnection();
```

To fetch results of some query

```php
// fetch() returns by default an array, if want, you can add a second parameter 'object' and return 
// an object ItemIterator()
$result = $dbo_conn->fetch('select * from dual');
```
{'fraction_non_alphanumeric': 0.1694915254237288, 'fraction_numerical': 0.0, 'mean_word_length': 5.836842105263158, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '33587', 'n_tokens_mistral': 404, 'n_tokens_neox': 397, 'n_words': 121}