Previous | Next

2 Architecture

2.1 Interfaces

2.2 Implementation

      mozSqlService : public mozISqlService,
                      public nsIRDFDataSource,
                      public nsIRDFRemoteDataSource

      mozSqlConnection : public mozISqlConnection,
                         public nsIRunnable,
                         public nsSupportsWeakReference
      
      mozSqlResult : public mozISqlResult,
                     public mozISqlDataSource,
                     public nsIRDFDataSource,
                     public nsIRDFRemoteDataSource

      mozSqlResultEnumerator : public mozISqlResultEnumerator,
                               public nsISimpleEnumerator

      Cells and Rows are allocated from an arena.

      mozSqlConnectionPgsql : public mozSqlConnection,
                              public mozISqlConnectionPgsql

      Init()
      GetPrimaryKeys()

      RealExec()
      CancelExec();
      GetIDName();


      mozSqlResultPgsql : public mozSqlResult,
                          public mozISqlResultPgsql

      BuildColumnInfo();
      BuildRows();
      CanInsert();
      CanUpdate();
      CanDelete();
    

Previous | Next