IConfiguration.

OptimizeNativeQueries(bool) Method

Summary

If set to true, db4o will try to optimize native queries dynamically at query execution time, otherwise it will run native queries in unoptimized mode as SODA evaluations.

Syntax

void OptimizeNativeQueries(bool optimizeNQ)

Remarks

If set to true, db4o will try to optimize native queries dynamically at query execution time, otherwise it will run native queries in unoptimized mode as SODA evaluations. The following assemblies should be available for native query switch to take effect: Db4objects.Db4o.NativeQueries.dll, Db4objects.Db4o.Instrumentation.dll.

The default setting is true.

In client-server environment this setting should be used on both client and server.

Parameters

Name Type Description
optimizeNQ bool true, if db4o should try to optimize native queries at query execution time, false otherwise

Return Value

Type Description
void

See Also

  • Db4objects.Db4o.Config.ICommonConfiguration.OptimizeNativeQueries