AddSqlite
Method
func (DistributedApplicationBuilder) AddSqlite( name string, options ...*AddSqliteOptions,) SqliteResourceSignature
method
AddSqlite builderAdds an Sqlite resource to the application builder.
AddSqlite( name string, options ...*AddSqliteOptions,) SqliteResourceParameters
namestringThe name of the resource.options...*AddSqliteOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddSqliteOptions argument.
DatabasePath *stringThe optional path to the database file. If no path is provided the database is stored in a temporary location.DatabaseFileName *stringThe filename of the database file. Must include extension. If no file name is provided, a randomly generated file name is used.Returns
SqliteResource A resource builder for the Sqlite resource.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder