hive icon indicating copy to clipboard operation
hive copied to clipboard

Lightweight and blazing fast key-value database written in pure Dart.

Results 277 hive issues
Sort by recently updated
recently updated
newest added

Because app depends on hive ^4.0.0 which doesn't match any versions, version solving failed. You can try the following suggestion to make the pubspec resolve: * Consider downgrading your constraint...

**StackTrace** E/flutter ( 8556): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Out of Memory E/flutter ( 8556): #0 new Uint8List (dart:typed_data-patch/typed_data_patch.dart:2221:3) E/flutter ( 8556): #1 BufferedFileReader.loadBytes (package:hive/src/io/buffered_file_reader.dart:73:18) E/flutter ( 8556): #2 _KeyReader._load (package:hive/src/io/frame_io_helper.dart:89:40) E/flutter...

problem

``` //register Hive.registerAdapter('SampleModel', (json) => SampleModel.fromJson(json)); //open box final box = Hive.box(name: 'myBox'); //add items to specific key box.put('list', const [SampleModel(id: 1, name: 'name'), SampleModel(id: 2, name: 'same')]); //get items...

**Question** I've added 2 new fields to my existing Hive Object. I followed the rules, didn't change the HiveType and also the new fields have new HiveField numbers. I generated...

question

The test source available here: https://pastebin.com/ijbsrV5F OS: Win10 latest, hive package is the latest available on pub. Dart (2.14.0) is the latest version from the latest flutter (stable 2.5.0). (sdk:...

problem

hive: ^2.2.3 Box? box = await Hive.openBox('messageHistoryBox'); var values = box?.values.toList(); When I close the Chrome browser and re-run,the values is empty from box. But it's normal on iOS or...

Since Dart 3 we have had [records](https://dart.dev/language/records). They're great and I use them extensively. I just ran into a problem though - Hive doesn't seem to support them yet, and...

In the package listing on pub.dev the github link is missing.

Hi, We are using Hive in our Flutter application for Windows. The .lock and .hive files are stored in the /Documents folder on the Windows machine. Is there a possibility...

**Question** When call put() with the same key, the data is Updated success, but the hive file is larger and larger ? **Code sample** ```dart String s = "xxxxxxxx"; box.put(1,...

question