CINXE.COM

objectbox library - Dart API

<!DOCTYPE html> <html lang="en"><head><script type="text/javascript" src="https://www.googletagmanager.com/gtm.js?id=GTM-MX6DBN9" async="async"></script><script type="text/javascript" src="/static/hash-o6oemknr/js/gtm.js"></script><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no"/><meta name="generator" content="made with love by dartdoc"/><meta name="description" content="objectbox library API docs, for the Dart programming language."/><title>objectbox library - Dart API</title><link rel="canonical" href="https://pub.dev/documentation/objectbox/latest/objectbox/objectbox-library.html"/><link rel="preconnect" href="https://fonts.gstatic.com"/><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&amp;display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"/><link rel="stylesheet" href="/static/hash-o6oemknr/css/dartdoc.css"/><link rel="icon" href="/favicon.ico?hash=nk4nss8c7444fg0chird9erqef2vkhb8"/></head><body class="light-theme" data-base-href="../" data-using-base-href="false"><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MX6DBN9" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="overlay-under-drawer"></div><header id="title"><span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span><a class="hidden-xs" href="/"><img src="/static/hash-o6oemknr/img/dart-logo.svg" alt="" width="30" height="30" role="presentation" style="height: 30px; margin-right: 1em;"/></a><ol class="breadcrumbs gt-separated dark hidden-xs"><li><a href="/packages/objectbox">objectbox package</a></li><li><a href="../index.html">documentation</a></li><li class="self-crumb">objectbox.dart</li></ol><div class="self-name">objectbox.dart</div><form class="search navbar-right" role="search"><input id="search-box" class="form-control typeahead" type="text" placeholder="Loading search..." autocomplete="off"/></form><div id="theme-button" class="toggle" title="Toggle brightness"><label for="theme"><input id="theme" type="checkbox" value="light-theme"/><span id="dark-theme-button" class="material-symbols-outlined">dark_mode</span><span id="light-theme-button" class="material-symbols-outlined">light_mode</span></label></div></header><main><div id="dartdoc-main-content" class="main-content" data-above-sidebar="" data-below-sidebar="objectbox/objectbox-library-sidebar.html"> <div> <h1> <span class="kind-library">objectbox</span> library </h1> </div> <div class="desc markdown markdown-body"> <p>ObjectBox for Dart is a standalone database storing Dart objects locally, with strong ACID semantics.</p> <p>Read the <a href="https://docs.objectbox.io/getting-started" rel="ugc nofollow">Getting Started</a> guide.</p> </div> <div class="summary offset-anchor" id="classes"> <h2>Classes</h2> <dl> <dt id="Admin"> <span class="name "><a href="../objectbox/Admin-class.html">Admin</a></span> </dt> <dd> ObjectBox Admin allows you to explore the database in a regular web browser. </dd> <dt id="Backlink"> <span class="name "><a href="../objectbox/Backlink-class.html">Backlink</a></span> </dt> <dd> Backlink annotation specifies a link in a reverse direction of another relation. </dd> <dt id="Box"> <span class="name "><a href="../objectbox/Box-class.html">Box</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </dt> <dd> A Box instance gives you access to objects of a particular type. You get Box instances via <a href="../objectbox/Store/box.html">Store.box()</a> or <a href="../objectbox/Box-class.html">Box(Store)</a>. </dd> <dt id="Condition"> <span class="name "><a href="../objectbox/Condition-class.html">Condition</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> A <a href="../objectbox/Query-class.html">Query</a> condition base class. </dd> <dt id="DebugFlags"> <span class="name "><a href="../objectbox/DebugFlags-class.html">DebugFlags</a></span> </dt> <dd> Passed as <code>debugFlags</code> when calling <a href="../objectbox/Store/Store.html">Store.new</a> to enable debug options. </dd> <dt id="Entity"> <span class="name "><a href="../objectbox/Entity-class.html">Entity</a></span> </dt> <dd> Entity annotation is used on a class to let ObjectBox know it should store it - making the class a "persistable Entity". </dd> <dt id="HnswFlags"> <span class="name "><a href="../objectbox/HnswFlags-class.html">HnswFlags</a></span> </dt> <dd> Flags as a part of the <a href="../objectbox/HnswIndex-class.html">HnswIndex</a> configuration. </dd> <dt id="HnswIndex"> <span class="name "><a href="../objectbox/HnswIndex-class.html">HnswIndex</a></span> </dt> <dd> See <a href="../objectbox/HnswIndex/HnswIndex.html">HnswIndex.new</a>. </dd> <dt id="Id"> <span class="name "><a href="../objectbox/Id-class.html">Id</a></span> </dt> <dd> Annotation Id can be used to specify an entity ID property if it's named anything else then "id" (case insensitive). </dd> <dt id="IdWithScore"> <span class="name "><a href="../objectbox/IdWithScore-class.html">IdWithScore</a></span> </dt> <dd> Wraps the ID of a matching object and a score when using <a href="../objectbox/Query/findIdsWithScores.html">Query.findIdsWithScores</a>. </dd> <dt id="Index"> <span class="name "><a href="../objectbox/Index-class.html">Index</a></span> </dt> <dd> Specifies that the property should be indexed. </dd> <dt id="ObjectWithScore"> <span class="name "><a href="../objectbox/ObjectWithScore-class.html">ObjectWithScore</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </dt> <dd> Wraps a matching object and a score when using <a href="../objectbox/Query/findWithScores.html">Query.findWithScores</a>. </dd> <dt id="Order"> <span class="name "><a href="../objectbox/Order-class.html">Order</a></span> </dt> <dd> Groups query order flags. </dd> <dt id="Property"> <span class="name "><a href="../objectbox/Property-class.html">Property</a></span> </dt> <dd> Use to (optionally) annotate a field to explicitly configure some details about how a field is stored in the database. </dd> <dt id="PropertyQuery"> <span class="name "><a href="../objectbox/PropertyQuery-class.html">PropertyQuery</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </dt> <dd> Property query base. </dd> <dt id="Query"> <span class="name "><a href="../objectbox/Query-class.html">Query</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </dt> <dd> A repeatable Query returning the latest matching Objects. </dd> <dt id="QueryBacklinkToMany"> <span class="name "><a href="../objectbox/QueryBacklinkToMany-class.html">QueryBacklinkToMany</a><span class="signature">&lt;<wbr><span class="type-parameter">Source</span>, <span class="type-parameter">Target</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryBooleanProperty"> <span class="name "><a href="../objectbox/QueryBooleanProperty-class.html">QueryBooleanProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryBuilder"> <span class="name "><a href="../objectbox/QueryBuilder-class.html">QueryBuilder</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span> </dt> <dd> Query builder allows creating reusable queries. </dd> <dt id="QueryByteVectorProperty"> <span class="name "><a href="../objectbox/QueryByteVectorProperty-class.html">QueryByteVectorProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryDateNanoProperty"> <span class="name "><a href="../objectbox/QueryDateNanoProperty-class.html">QueryDateNanoProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> This wraps <a href="../objectbox/QueryIntegerProperty-class.html">QueryIntegerProperty</a> for <a href="https://api.dart.dev/stable/3.5.4/dart-core/DateTime-class.html" rel="ugc">DateTime</a> properties annotated with <code>@Property(type: PropertyType.dateNano)</code> to avoid having to manually convert to nanoseconds (<a href="https://api.dart.dev/stable/3.5.4/dart-core/DateTime/microsecondsSinceEpoch.html" rel="ugc">DateTime.microsecondsSinceEpoch</a> <code>* 1000</code>) when creating query conditions. </dd> <dt id="QueryDateProperty"> <span class="name "><a href="../objectbox/QueryDateProperty-class.html">QueryDateProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> This wraps <a href="../objectbox/QueryIntegerProperty-class.html">QueryIntegerProperty</a> for <a href="https://api.dart.dev/stable/3.5.4/dart-core/DateTime-class.html" rel="ugc">DateTime</a> properties to avoid having to manually convert to <a href="https://api.dart.dev/stable/3.5.4/dart-core/DateTime/millisecondsSinceEpoch.html" rel="ugc">DateTime.millisecondsSinceEpoch</a> when creating query conditions. </dd> <dt id="QueryDoubleProperty"> <span class="name "><a href="../objectbox/QueryDoubleProperty-class.html">QueryDoubleProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryDoubleVectorProperty"> <span class="name "><a href="../objectbox/QueryDoubleVectorProperty-class.html">QueryDoubleVectorProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> For double vectors greater and less queries are supported on elements of the vector (e.g. "has element greater"). </dd> <dt id="QueryHnswProperty"> <span class="name "><a href="../objectbox/QueryHnswProperty-class.html">QueryHnswProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> Provides extra conditions for float vector properties with an <a href="../objectbox/HnswIndex-class.html">HnswIndex</a>. </dd> <dt id="QueryIntegerProperty"> <span class="name "><a href="../objectbox/QueryIntegerProperty-class.html">QueryIntegerProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryIntegerVectorProperty"> <span class="name "><a href="../objectbox/QueryIntegerVectorProperty-class.html">QueryIntegerVectorProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> For integer vectors (excluding <a href="../objectbox/QueryByteVectorProperty-class.html">QueryByteVectorProperty</a>) greater, less and equal are supported on elements of the vector (e.g. "has element greater"). </dd> <dt id="QueryProperty"> <span class="name "><a href="../objectbox/QueryProperty-class.html">QueryProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>, <span class="type-parameter">DartType</span>&gt;</span></span> </dt> <dd> The QueryProperty types allow users to build query conditions on a property. </dd> <dt id="QueryRelationToMany"> <span class="name "><a href="../objectbox/QueryRelationToMany-class.html">QueryRelationToMany</a><span class="signature">&lt;<wbr><span class="type-parameter">Source</span>, <span class="type-parameter">Target</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryRelationToOne"> <span class="name "><a href="../objectbox/QueryRelationToOne-class.html">QueryRelationToOne</a><span class="signature">&lt;<wbr><span class="type-parameter">Source</span>, <span class="type-parameter">Target</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryStringProperty"> <span class="name "><a href="../objectbox/QueryStringProperty-class.html">QueryStringProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> </dd> <dt id="QueryStringVectorProperty"> <span class="name "><a href="../objectbox/QueryStringVectorProperty-class.html">QueryStringVectorProperty</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> </dd> <dt id="Store"> <span class="name "><a href="../objectbox/Store-class.html">Store</a></span> </dt> <dd> Represents an ObjectBox database and works together with <a href="../objectbox/Box-class.html">Box</a> to allow getting and putting. </dd> <dt id="Sync"> <span class="name "><a href="../objectbox/Sync-class.html">Sync</a></span> </dt> <dd> <a href="https://objectbox.io/sync/" rel="ugc nofollow">ObjectBox Sync</a> makes data available and synchronized across devices, online and offline. </dd> <dt id="SyncChange"> <span class="name "><a href="../objectbox/SyncChange-class.html">SyncChange</a></span> </dt> <dd> Sync incoming data event. </dd> <dt id="SyncClient"> <span class="name "><a href="../objectbox/SyncClient-class.html">SyncClient</a></span> </dt> <dd> Sync client is used to connect to an ObjectBox sync server. Use through <a href="../objectbox/Sync-class.html">Sync</a>. </dd> <dt id="SyncCredentials"> <span class="name "><a href="../objectbox/SyncCredentials-class.html">SyncCredentials</a></span> </dt> <dd> Credentials used to authenticate a sync client against a server. </dd> <dt id="ToMany"> <span class="name "><a href="../objectbox/ToMany-class.html">ToMany</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> A to-many relation of an entity that references multiple objects of a "target" entity <code>EntityT</code>. </dd> <dt id="ToOne"> <span class="name "><a href="../objectbox/ToOne-class.html">ToOne</a><span class="signature">&lt;<wbr><span class="type-parameter">EntityT</span>&gt;</span></span> </dt> <dd> A to-one relation of an entity that references one object of a "target" entity <code>EntityT</code>. </dd> <dt id="Transient"> <span class="name "><a href="../objectbox/Transient-class.html">Transient</a></span> </dt> <dd> Transient annotation marks fields that should not be stored in the database. </dd> <dt id="Unique"> <span class="name "><a href="../objectbox/Unique-class.html">Unique</a></span> </dt> <dd> Enforces that the value of a property is unique among all objects in a box before an object can be put. </dd> <dt id="Version"> <span class="name "><a href="../objectbox/Version-class.html">Version</a></span> </dt> <dd> Wrapper for a semantic version information. </dd> </dl> </div> <div class="summary offset-anchor" id="enums"> <h2>Enums</h2> <dl> <dt id="ConflictStrategy"> <span class="name "><a href="../objectbox/ConflictStrategy.html">ConflictStrategy</a></span> </dt> <dd> Used with <a href="../objectbox/Unique-class.html">Unique</a> to specify the conflict resolution strategy. </dd> <dt id="IndexType"> <span class="name "><a href="../objectbox/IndexType.html">IndexType</a></span> </dt> <dd> IndexType can be used to change what type ObjectBox uses when indexing a property. </dd> <dt id="PropertyType"> <span class="name "><a href="../objectbox/PropertyType.html">PropertyType</a></span> </dt> <dd> Use with <a href="../objectbox/Property/type.html">Property.type</a>. </dd> <dt id="PutMode"> <span class="name "><a href="../objectbox/PutMode.html">PutMode</a></span> </dt> <dd> Box put (write) mode. </dd> <dt id="SyncConnectionEvent"> <span class="name "><a href="../objectbox/SyncConnectionEvent.html">SyncConnectionEvent</a></span> </dt> <dd> Connection state change event. </dd> <dt id="SyncLoginEvent"> <span class="name "><a href="../objectbox/SyncLoginEvent.html">SyncLoginEvent</a></span> </dt> <dd> Login state change event. </dd> <dt id="SyncRequestUpdatesMode"> <span class="name "><a href="../objectbox/SyncRequestUpdatesMode.html">SyncRequestUpdatesMode</a></span> </dt> <dd> Configuration of how <a href="../objectbox/SyncClient-class.html">SyncClient</a> fetches remote updates from the server. </dd> <dt id="SyncState"> <span class="name "><a href="../objectbox/SyncState.html">SyncState</a></span> </dt> <dd> Current state of the <a href="../objectbox/SyncClient-class.html">SyncClient</a>. </dd> <dt id="TxMode"> <span class="name "><a href="../objectbox/TxMode.html">TxMode</a></span> </dt> <dd> Configure transaction mode. Used with <a href="../objectbox/Store/runInTransaction.html">Store.runInTransaction()</a>. </dd> <dt id="VectorDistanceType"> <span class="name "><a href="../objectbox/VectorDistanceType.html">VectorDistanceType</a></span> </dt> <dd> The vector distance algorithm used by an <a href="../objectbox/HnswIndex-class.html">HnswIndex</a> (vector search). </dd> </dl> </div> <div class="summary offset-anchor" id="extensions"> <h2>Extensions</h2> <dl> <dt id="DoublePropertyQuery"> <span class="name "><a href="../objectbox/DoublePropertyQuery.html">DoublePropertyQuery</a></span> on <a href="../objectbox/PropertyQuery-class.html">PropertyQuery</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/double-class.html">double</a></span>&gt;</span> </dt> <dd> "Property query" for a double field. Created by <a href="../objectbox/Query/property.html">Query.property()</a>. </dd> <dt id="IntegerPropertyQuery"> <span class="name "><a href="../objectbox/IntegerPropertyQuery.html">IntegerPropertyQuery</a></span> on <a href="../objectbox/PropertyQuery-class.html">PropertyQuery</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/int-class.html">int</a></span>&gt;</span> </dt> <dd> "Property query" for an integer field. Created by <a href="../objectbox/Query/property.html">Query.property()</a>. </dd> <dt id="ObservableStore"> <span class="name "><a href="../objectbox/ObservableStore.html">ObservableStore</a></span> on <a href="../objectbox/Store-class.html">Store</a> </dt> <dd> StreamController implementation inspired by the sample controller sample at: <a href="https://dart.dev/articles/libraries/creating-streams#honoring-the-pause-state" rel="ugc">https://dart.dev/articles/libraries/creating-streams#honoring-the-pause-state</a> <a href="https://dart.dev/articles/libraries/code/stream_controller.dart" rel="ugc">https://dart.dev/articles/libraries/code/stream_controller.dart</a> </dd> <dt id="QueryParamBool"> <span class="name "><a href="../objectbox/QueryParamBool.html">QueryParamBool</a></span> on QueryParam<span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/bool-class.html">bool</a></span>&gt;</span> </dt> <dd> QueryParam for boolean properties </dd> <dt id="QueryParamBytes"> <span class="name "><a href="../objectbox/QueryParamBytes.html">QueryParamBytes</a></span> on QueryParam<span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span> </dt> <dd> QueryParam for byte vector properties </dd> <dt id="QueryParamDouble"> <span class="name "><a href="../objectbox/QueryParamDouble.html">QueryParamDouble</a></span> on QueryParam<span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/double-class.html">double</a></span>&gt;</span> </dt> <dd> QueryParam for double properties </dd> <dt id="QueryParamInt"> <span class="name "><a href="../objectbox/QueryParamInt.html">QueryParamInt</a></span> on QueryParam<span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/int-class.html">int</a></span>&gt;</span> </dt> <dd> QueryParam for int properties </dd> <dt id="QueryParamString"> <span class="name "><a href="../objectbox/QueryParamString.html">QueryParamString</a></span> on QueryParam<span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/String-class.html">String</a></span>&gt;</span> </dt> <dd> QueryParam for string properties </dd> <dt id="QuerySetParam"> <span class="name "><a href="../objectbox/QuerySetParam.html">QuerySetParam</a></span> on <a href="../objectbox/Query-class.html">Query</a> </dt> <dd> Adds capabilities to set query parameters </dd> <dt id="StringPropertyQuery"> <span class="name "><a href="../objectbox/StringPropertyQuery.html">StringPropertyQuery</a></span> on <a href="../objectbox/PropertyQuery-class.html">PropertyQuery</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.5.4/dart-core/String-class.html">String</a></span>&gt;</span> </dt> <dd> "Property query" for a string field. Created by <a href="../objectbox/Query/property.html">Query.property()</a>. </dd> </dl> </div> <div class="summary offset-anchor" id="exceptions"> <h2>Exceptions / Errors</h2> <dl> <dt id="DbFileCorruptException"> <span class="name "><a href="../objectbox/DbFileCorruptException-class.html">DbFileCorruptException</a></span> </dt> <dd> Errors were detected in a database file, e.g. illegal values or structural inconsistencies. </dd> <dt id="DbFullException"> <span class="name "><a href="../objectbox/DbFullException-class.html">DbFullException</a></span> </dt> <dd> Thrown when applying a transaction (e.g. putting an object) would exceed the <code>maxDBSizeInKB</code> configured when calling <a href="../objectbox/Store/Store.html">Store.new</a>. </dd> <dt id="DbMaxDataSizeExceededException"> <span class="name "><a href="../objectbox/DbMaxDataSizeExceededException-class.html">DbMaxDataSizeExceededException</a></span> </dt> <dd> Thrown when applying a transaction would exceed the <code>maxDataSizeInKByte</code> configured when calling <a href="../objectbox/Store/Store.html">Store.new</a>. </dd> <dt id="DbMaxReadersExceededException"> <span class="name "><a href="../objectbox/DbMaxReadersExceededException-class.html">DbMaxReadersExceededException</a></span> </dt> <dd> Thrown when the maximum amount of readers (read transactions) was exceeded. </dd> <dt id="DbPagesCorruptException"> <span class="name "><a href="../objectbox/DbPagesCorruptException-class.html">DbPagesCorruptException</a></span> </dt> <dd> Errors related to pages were detected in a database file, e.g. bad page refs outside of the file. </dd> <dt id="DbShutdownException"> <span class="name "><a href="../objectbox/DbShutdownException-class.html">DbShutdownException</a></span> </dt> <dd> Thrown when an error occurred that requires the store to be closed. </dd> <dt id="NonUniqueResultException"> <span class="name "><a href="../objectbox/NonUniqueResultException-class.html">NonUniqueResultException</a></span> </dt> <dd> Thrown if <code>Query.findUnique()</code> is called, but the query matches more than one object. </dd> <dt id="NumericOverflowException"> <span class="name "><a href="../objectbox/NumericOverflowException-class.html">NumericOverflowException</a></span> </dt> <dd> Thrown if a property query aggregate function (e.g. <code>sum()</code>) can not compute a result due to a number type overflowing. </dd> <dt id="ObjectBoxException"> <span class="name "><a href="../objectbox/ObjectBoxException-class.html">ObjectBoxException</a></span> </dt> <dd> ObjectBox database exception. </dd> <dt id="SchemaException"> <span class="name "><a href="../objectbox/SchemaException-class.html">SchemaException</a></span> </dt> <dd> Thrown when there is an error with the data schema (data model). </dd> <dt id="StorageException"> <span class="name "><a href="../objectbox/StorageException-class.html">StorageException</a></span> </dt> <dd> ObjectBox database exception with an OBX_ERROR code. </dd> <dt id="UniqueViolationException"> <span class="name "><a href="../objectbox/UniqueViolationException-class.html">UniqueViolationException</a></span> </dt> <dd> A unique constraint would have been violated by this database operation. </dd> </dl> </div> </div><div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left"><header id="header-search-sidebar" class="hidden-l"><form class="search-sidebar" role="search"><input id="search-sidebar" class="form-control typeahead" type="text" placeholder="Loading search..." autocomplete="off"/></form></header><ol id="sidebar-nav" class="breadcrumbs gt-separated dark hidden-l"><li><a href="/packages/objectbox">objectbox package</a></li><li><a href="../index.html">documentation</a></li><li class="self-crumb">objectbox.dart</li></ol> <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. --> <h5><span class="package-name">objectbox</span> <span class="package-kind">package</span></h5> <ol> <li class="section-title">Libraries</li> <li><a href="../objectbox_internal/objectbox_internal-library.html">internal</a></li> <li><a href="../objectbox/objectbox-library.html">objectbox</a></li> </ol> <div id="dartdoc-sidebar-left-content"></div></div><div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right"> <h5>objectbox library</h5> </div></main><footer><span class="no-break">objectbox 4.0.3</span></footer><script src="/static/hash-o6oemknr/dartdoc/resources/highlight.pack.js"></script><script src="/static/hash-o6oemknr/dartdoc/resources/docs.dart.js"></script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10