Permalink
Browse files

added VarArrayOf tip

  • Loading branch information...
1 parent 34558bf commit 94a31bc21d2058528a00ce7685d65fd91b449d36 @stijnsanders committed Jul 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 README
View
1 README
@@ -16,6 +16,7 @@ bsonDoc.pas
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)]);
mongoWire.pas
TMongoWire=class(TObject)

0 comments on commit 94a31bc

Please sign in to comment.