Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonasmalacofilho/mongo-haxe-managers
MongoDB typed managers for Haxe
https://github.com/jonasmalacofilho/mongo-haxe-managers
Last synced: 25 days ago
JSON representation
MongoDB typed managers for Haxe
- Host: GitHub
- URL: https://github.com/jonasmalacofilho/mongo-haxe-managers
- Owner: jonasmalacofilho
- License: other
- Created: 2014-12-02T21:30:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-02T17:54:30.000Z (over 9 years ago)
- Last Synced: 2023-06-16T03:35:22.699Z (over 1 year ago)
- Language: Haxe
- Homepage:
- Size: 340 KB
- Stars: 2
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MongoDB typed managers for Haxe
Specialized macro-built managers for MongoDB collections that work on top of
the [mongodb] library. Please note that the current version expects a
particular [fork] of the mongodb library.Finally, the manager build macros are only tested on recent Haxe git versions,
[9044292] or newer. Builds for these versions are available on the [hxbuilds]
website.[![Build Status](https://travis-ci.org/jonasmalacofilho/mongo-haxe-managers.svg?branch=master)](https://travis-ci.org/jonasmalacofilho/mongo-haxe-managers)
[mongodb]: https://github.com/MattTuttle/mongo-haxe-driver
[fork]: https://github.com/jonasmalacofilho/mongo-haxe-driver/tree/managers
[9044292]: https://github.com/HaxeFoundation/haxe/commit/9044292
[hxbuilds]: http://hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/index.html## Features
Feature summary:
- Type checking for queries and documents
- Type check queries
- Type check insert/update documents
- Ensure proper types for returned objects (TODO)
- [PLANNED] Support projections; change to `Manager`
- [PLANNED] Shorter syntax for simple queriesDocument cache and other possible manager/ORM/SPOD responsibilities are not
planned for the time being.## Samples
See `test/compile/TestBuilder.hx` and `test/compile/TestTyper.hx`.
## Limitations
It is not possible to build a manager inside the module where its document type
is defined.