Releases: BrainlessLabs/bun
Releases · BrainlessLabs/bun
Convert Object with Vectors to JSON and From JSON to Objects
Following new changes were added:
- Convert an object with Vectors into JSON and Messagepack.
- Convert a messagepack and JSON into an object.
NOTE: This release do not persist vectors into DB yet.
Messagepack conversion(To message pack and from message pack)
- Objects can be converted to messagepack
- Objects can be converted into messagepack
- Added some examples
Range Based Lazy Iteration Added for Object Store and Key-Value store
Apart from the features of the v1.3.0-alpha it has the examples changed and also few warnings removed from kv.hpp
Range Based Lazy Iteration Added for Object Store and Key-Value store
This brings new features to Bun.
- Adding iteration for the ORM. This supports lazy loading. So the data is loaded in pages to the ORM. Range-based for loop is supported and preferred.
- Support for range-based for loop is added for the key-value store too.
Fix release for Mac and Linux
Fixes were done for Mac and Linux platforms.
v1.2.0-alpha - Adding the key value store. The default key value store is Unqlite.
Pre-release
v1.2.0-alpha - Adding the key value store. The default key value store is Unqlite.
Adding option to configure
- Adding unique constraint.
- This is going to be a DSL
Support for embedded objects
- Embedded object support
struct Child {
int cf1;
Child(const int cf = -1) : cf1(cf) {}
Child& operator=(const int i) {
cf1 = i;
return *this;
}
};
struct Parent {
int f1;
std::string f2;
Child f3;
Parent() :f1(-1), f2("-1"), f3(-1) {}
};
SPECIALIZE_BUN_HELPER((Child, cf1));
SPECIALIZE_BUN_HELPER((Parent, f1, f2, f3));
- Many performance optimizations
Postgres bugs fixed
Fixed bugs that prevented the library use with postgres. Added postgres example.
SOCI integration and Code cleanup
Following are some things that are implemented:
- SOCI Integration - This enables the use of many database backends
- Using Boost Fusion - Using Boost Fusion makes the code very clean, debuggable and more adaptive.
- Adding transactions