Esempio n. 1
0
 internal ArangoQuery(string queryStr, ConnectionPool <IConnection> connectionPool, ArangoDatabase database)
 {
     this.connectionPool = connectionPool;
     this.database       = database;
     query = new AQLQuery()
     {
         Query = queryStr
     };
 }
Esempio n. 2
0
 internal ArangoQuery(string queryStr, Dictionary <string, object> parameters,
                      ConnectionPool <IConnection> connectionPool, ArangoDatabase database)
 {
     this.connectionPool = connectionPool;
     this.database       = database;
     query = new AQLQuery()
     {
         Query      = queryStr,
         Parameters = parameters
     };
 }
Esempio n. 3
0
 internal ArangoQuery(AQLQuery aqlQuery, ConnectionPool <IConnection> connectionPool, ArangoDatabase database)
 {
     this.connectionPool = connectionPool;
     this.database       = database;
     query = aqlQuery;
 }