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])]);
Delphi,是美国Borland(宝兰)公司於1995年开发在Windows平台下的快速应用程式开发工具(Rapid Application Development,简称RAD),它的前身是在DOS下的产品Borland Turbo Pascal。(非开源软件) 从产品名称上就可以知道,Turbo Pascal使用的是Pascal语言。 从Turbo Pascal 5.5版本开始,Borland
我必须在mongob上执行查询,我想只选择一个具有特定_id的文档(类型为ObjectId)。 我使用“严格模式”sintax,特别是运算符$oid用于将_id与字符串进行比较。 但是它不起作用!,我现在不知道它是一个错误(一袋mongo-c-drive/mongo-delphi-drive)还是我在ObjectId字段上编写了错误的查询代码。 在一个简单的代码片段下面,存在具有_id的文档,但b
Delphi Persistent Object (DePO) 是一个 Delphi 的对象持久化框架。
XML-RPC for Delphi 是一个 Delphi 的基于 XML-RPC 通讯的客户端和服务器端的开发包。
导读 什么是Duilib for Delphi? Duilib for Delphi是一个基于C++Duilib的开源工程,主要致力于在Delphi中使用Duilib库构建漂亮的UI。 怎么学习?首先对Duilib有基本的了解,特别是XML构建的UI上,可以在网上查找duilib的文章,学习如何构建基于XML的UI,其次要有一定的Delphi基础,不然学起来会很麻烦
SQLite的一个Delphi的开源封装库,全面支持Delphi 4, 5, 6, 7, 2005 和 2006。对于Delphi 4和Delphi 5请使用带有D4、D5后缀的文件。解压缩下载回来的文件包到Delphi的子目录下,安装该组件,同时将该目录添加到环境变量的搜索路径中。 ASQLite的发布包中有两个子压缩包,其中ASQLite (ASQLiteD4, ASQLiteD5)是开发时的
Delphi Spring Framework 是一个国际化的开源项目,主要为 Delphi 开发者提供一个类似 Spring 的基础框架,用以构建可靠、灵活和可扩展的企业应用程序。 系统架构:
mongo-delphi-driver 是第三方实现的 MongoDB 的 Delphi 驱动包。