Dart - sql.connectionString()
Returns the connection string for a SQL database at runtime.
import 'package:nitric_sdk/nitric.dart';final db = Nitric.sql("my-database");// Should be called at runtime, such as in a service handlerfinal connStr = await db.connectionString();
Examples
Return a connection string
import 'package:nitric_sdk/nitric.dart';final db = Nitric.sql("my-database");// Should be called at runtime, such as in a service handlerfinal connStr = await db.connectionString();
Last updated on Oct 16, 2024