<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          TMongoWireMongoDB 的 Delphi 驅(qū)動

          聯(lián)合創(chuàng)作 · 2023-09-30 19:10

          TMongoWire 是一個 Delphi 的驅(qū)動,用來訪問 MongoDB 數(shù)據(jù)庫,它將映射 Delphi 的數(shù)據(jù)類型 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])]);
          瀏覽 22
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  亚洲无码高清视频在线播放 | 澳门黄色网 | 亚洲AV无码精品 | 成人少妇永久网站 | 日韩一级在线播放 |