All Projects → stijnsanders → TMongoWire

stijnsanders / TMongoWire

Licence: MIT License
Delphi MongoDB driver

Programming Languages

pascal
1382 projects

Projects that are alternatives of or similar to TMongoWire

Lua Mongo
MongoDB Driver for Lua
Stars: ✭ 81 (-10.99%)
Mutual labels:  mongodb-driver
Mongodb Plugin
MongoDB Plugin for Java
Stars: ✭ 236 (+159.34%)
Mutual labels:  mongodb-driver
online-training
Online Training website using ASP.Net Core 2.0 & Angular 4
Stars: ✭ 26 (-71.43%)
Mutual labels:  mongodb-driver
Mongo.migration
On-the-fly migrations with MongoDB C# Driver
Stars: ✭ 99 (+8.79%)
Mutual labels:  mongodb-driver
Mongo Perl Driver
Perl driver for the MongoDB
Stars: ✭ 203 (+123.08%)
Mutual labels:  mongodb-driver
mango
Use mongo-go-driver like mgo
Stars: ✭ 37 (-59.34%)
Mutual labels:  mongodb-driver
Egg Mongo Native
MongoDB egg.js plugin using native driver.
Stars: ✭ 69 (-24.18%)
Mutual labels:  mongodb-driver
wily
Build Node.js APIs from the command line (Dead Project 😵)
Stars: ✭ 14 (-84.62%)
Mutual labels:  mongodb-driver
Mongodb.entities
A data access library for MongoDB with an elegant api, LINQ support and built-in entity relationship management
Stars: ✭ 204 (+124.18%)
Mutual labels:  mongodb-driver
MongoDBLink
MongoDB driver for Mathematica
Stars: ✭ 18 (-80.22%)
Mutual labels:  mongodb-driver
Mongo Php Library
MongoDB PHP library
Stars: ✭ 1,391 (+1428.57%)
Mutual labels:  mongodb-driver
Java Specialagent
Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
Stars: ✭ 156 (+71.43%)
Mutual labels:  mongodb-driver
TRedisWire
Delphi Redis connector
Stars: ✭ 17 (-81.32%)
Mutual labels:  dbconnector
Erlmongo
Erlang driver for MongoDB with gridfs that works with maps and proplists
Stars: ✭ 90 (-1.1%)
Mutual labels:  mongodb-driver
java-spring-boot-mongodb-starter
MongoDB Blog Post: REST APIs with Java, Spring Boot and MongoDB
Stars: ✭ 57 (-37.36%)
Mutual labels:  mongodb-driver
Avocado
Strongly-typed MongoDB driver for Rust
Stars: ✭ 70 (-23.08%)
Mutual labels:  mongodb-driver
Mongo Swift Driver
The official MongoDB driver for Swift
Stars: ✭ 242 (+165.93%)
Mutual labels:  mongodb-driver
mongorover
Intern project - MongoDB driver for the Lua programming language - This Repository is NOT a supported MongoDB product
Stars: ✭ 52 (-42.86%)
Mutual labels:  mongodb-driver
laravel-logger
📝 Laravel 日志的扩展,更规范,更快速,更有效。
Stars: ✭ 21 (-76.92%)
Mutual labels:  mongodb-driver
ArchitectNow.ApiStarter
Sample ASP.NET Core 2 API Setup used by ArchitectNow for corresponding workshop presentations
Stars: ✭ 35 (-61.54%)
Mutual labels:  mongodb-driver

Delphi MongoDB Driver

A Delphi driver to access a mongoDB server. It uses jsonDoc.pas to store JSON documents. IJSONDocument maps variables onto Delphi variables of type Variant, which resembles the loose typing of JavaScript. There are three main units and two main classes to enable access to a mongo DB server:

jsonDoc.pas

Declares IJSONDocument and related interfaces, and the JSON function to create instances, optionally populated with data. IJSONDocument instances hold the data of a 'document', the basic unit of data mongoDB works with. A variable of type Variant can hold an interface reference to an instance, which enables embedding documents. Use Variant arrays (or IJSONArray) to store arrays of values in a document.

See also https://github.com/stijnsanders/jsonDoc#jsondoc

bsonTools.pas

Declares the LoadBSON and SaveBSON procedures.

Also declares the IBSONDocArray interface which can improve processing arrays of embedded documents by keeping a reference to the underlying data stream, and only loading one document at a time, possibly re-using allocated memory for the same keys if the documents have a similar structure. Attention: take care to keep the TStream instance in existance for as long as you're planning to use the linked IBSONDocArray instance. Failure to do so can lead to privileged instruction or access violation errors.

mongoWire.pas

Use an object of class TMongoWire to connection to a mongoDB server. It supports getting single items, performing inserts, updates and deletes.

Use objects of class TMongoWireQuery to query to a mongoDB server. It handles the cursor and subsequent requests to the server to get more data when needed.

mongoID.pas

Use function mongoObjectId to construct a new MongoDB-style id value.

mongoAuth3.pas

Use procedure MongoWireAuthenticate to authenticate a newly connected TMongoWire instance. As of version 3.0 MongoDB uses a slightly modified SCRAM-SHA-1 to vastly improve security with access control. (Use mongoAuth.pas for MongoDB versions prior to 3.0.)

mongoStream.pas

Use TMongoStream to load and store files in MongoDB. Internally .files and .chunks collections are used to store the data.

examples

See the example projects for straight-forward demonstration applications that use TMongoWire.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].