oydadb
The oydadb package a powerful tool that simplifies interactions with PostgreSQL databases in Flutter applications. It encapsulates all necessary database operations within the OYDAInterface class, making it easier to perform CRUD operations.
Getting Started
First, don't use this package yet, it's not ready
Then, add the oydadb package to your pubspec.yaml file:
dependencies:
oydadb: ^1.0.0
Then, run flutter pub get to fetch the package.
Usage
Import the package in your Dart file:
import 'package:oydadb/oydadb.dart';
Now, you can use the oydaInterface instance to interact with your PostgreSQL database. For example, to select an existing table a table:
await dotenv.load(fileName: ".env");
var table = await OydaInterface().selectTable('test');
print(table);