1
0
mirror of https://github.com/pruzko/hakuin synced 2024-09-16 20:31:33 +02:00

readme updated for oracledb

This commit is contained in:
Jakub Pruzinec 2024-07-31 10:16:18 +02:00
parent 3723d58705
commit 86cb1051de

View File

@ -58,13 +58,13 @@ class ContentRequester(Requester):
return 'found' in await r.text()
```
To start extracting data, use the `Extractor` class. It requires a `DBMS` object to contruct queries and a `Requester` object to inject them. Hakuin currently supports `SQLite`, `MySQL`, `PSQL` (PostgreSQL), and `MSSQL` (SQL Server) DBMSs, but will soon include more options. If you wish to support another DBMS, implement the `DBMS` interface defined in `hakuin/dbms/DBMS.py`.
To start extracting data, use the `Extractor` class. It requires a `DBMS` object to contruct queries and a `Requester` object to inject them. Hakuin currently supports `SQLite`, `MySQL`, `PSQL` (PostgreSQL), `MSSQL` (SQL Server) DBMSs, and `OracleDB` but will soon include more options. If you wish to support another DBMS, implement the `DBMS` interface defined in `hakuin/dbms/DBMS.py`.
##### Example 1 - Extracting SQLite/MySQL/PSQL/MSSQL
##### Example 1 - Extracting SQLite/MySQL/PSQL/MSSQL/OracleDB
```python
import asyncio
from hakuin import Extractor, Requester
from hakuin.dbms import SQLite, MySQL, PSQL, MSSQL
from hakuin.dbms import SQLite, MySQL, PSQL, MSSQL, OracleDB
class StatusRequester(Requester):
...