lowcoai_lowcodb 0.1.0 copy "lowcoai_lowcodb: ^0.1.0" to clipboard
lowcoai_lowcodb: ^0.1.0 copied to clipboard

Official Dart and Flutter client for the lowco lowcodb manager service (bases, tables, records, views, DB functions).

example/main.dart

import 'package:lowcoai_lowcodb/lowcoai_lowcodb.dart';

Future<void> main() async {
  final client = LowcodbClient(token: '<token-or-api-key>', orgId: 'org_123');
  try {
    final base = await client.createBase(const Base(name: 'crm', baseType: 'internal'));
    await client.createRecord(base.schema!, 'leads', {'name': 'Ada', 'status': 'open'});

    final open = await client.listRecords(
      base.schema!,
      'leads',
      const ListParams(filter: "status='open'", size: 50),
    );
    print('open leads: ${open.length}');
  } on LowcodbException catch (e) {
    print('lowcodb error ${e.statusCode}: ${e.message}');
  } finally {
    client.close();
  }
}
0
likes
150
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Official Dart and Flutter client for the lowco lowcodb manager service (bases, tables, records, views, DB functions).

Repository (GitHub)
View/report issues

Topics

#lowco #database #sdk #low-code

License

MIT (license)

Dependencies

http

More

Packages that depend on lowcoai_lowcodb