TMongoWire MongoDB的Delphi驱动

程序名称:TMongoWire

TMongoWire 介绍

TMongoWire 是一个 Delphi 的驱动用来访问 MongoDB 数据库,它将映射 Delphi 的数据类型 OleVariant。

示例代码:

  TBSONDocument = class(TInterfacedObject, IBSONDocument, IPersistStream)
    Holds the data of a 'document', the basic unit of data mongoDB works with.
    Implements an IBSONDocument interface which allows it to be referenced by
    an OleVariant variable, which enables embedding documents.
    Implements the IPersistStream interface to enable loading from and saving
    to BSON, the internal binary storage specification used by mongoDB.

  function BSON: IBSONDocument; overload;
  function BSON(x: array of OleVariant): IBSONDocument; overload;
    Creates a BSON document object ready for use.
    Optionally pass a sequence of key-value pairs,
      e.g.: BSON(['x',5,'y',7]);
    Use '[' and ']' to created embedded documents,
      e.g.: BSON(['x','[','$gt',7,']']);
    Use VarArrayOf or 1-dimensional variant arrays to add arrays,
      e.g.: BSON(['x',VarArrayOf([1,2,3])]);

TMongoWire 官网

https://github.com/stijnsanders/TMongoWire

相关编程语言

SchemaCrawler提供一组用于增强标准JDBC Metadata的...
ER Master 是一个用于设计ER模型图的Eclipse插件。提...
Eclipse下用于画数据库ER图的插件,主要特性如下: ...
PowerDesigner 是Sybase的企业建模和设计解决方案,...
Mogwai ERDesigner NG是一个实体关系建模工具类似于...
Power*Architect 是一个数据建模工具,主要用在数据...