From e4acfda00486babf30a7bb3ea7a78209f0ff680c Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 7 May 2012 16:05:51 -0400 Subject: [PATCH] Add list_types abstract method to db_sql class --- classes/db_sql.php | 7 + classes/query_builder.php | 2 +- docs/classes/DB_PDO.html | 6 +- docs/classes/DB_Reg.html | 6 +- docs/classes/DB_SQL.html | 17 +- docs/classes/DB_Util.html | 6 +- docs/classes/Firebird.html | 6 +- docs/classes/Firebird_Result.html | 6 +- docs/classes/Firebird_SQL.html | 17 +- docs/classes/Firebird_Util.html | 6 +- docs/classes/MySQL.html | 6 +- docs/classes/MySQL_SQL.html | 17 +- docs/classes/MySQL_Util.html | 6 +- docs/classes/ODBC.html | 6 +- docs/classes/ODBC_SQL.html | 17 +- docs/classes/ODBC_Util.html | 6 +- docs/classes/PgSQL.html | 6 +- docs/classes/PgSQL_SQL.html | 17 +- docs/classes/PgSQL_Util.html | 6 +- docs/classes/Query_Builder.html | 6 +- docs/classes/SQLite.html | 6 +- docs/classes/SQLite_SQL.html | 17 +- docs/classes/SQLite_Util.html | 6 +- docs/classes/Settings.html | 6 +- docs/deprecated.html | 6 +- docs/errors.html | 6 +- docs/graph_class.html | 6 +- docs/markers.html | 198 ++++++- docs/namespaces/default.html | 6 +- docs/packages/.html | 6 +- docs/packages/Default.html | 6 +- docs/packages/Query.Drivers.html | 6 +- docs/packages/Query.Helper Classes.html | 6 +- docs/packages/Query.Query.html | 6 +- docs/packages/Query.html | 6 +- docs/structure.xml | 730 ++++++++++++++---------- drivers/firebird/firebird_sql.php | 12 + drivers/firebird/firebird_util.php | 2 +- drivers/mysql/mysql_driver.php | 2 +- drivers/mysql/mysql_sql.php | 12 + drivers/mysql/mysql_util.php | 2 +- drivers/odbc/odbc_sql.php | 12 + drivers/pgsql/pgsql_driver.php | 2 +- drivers/pgsql/pgsql_sql.php | 12 + drivers/pgsql/pgsql_util.php | 2 +- drivers/sqlite/sqlite_sql.php | 12 + tests/db_files/FB_TEST_DB.FDB | Bin 802816 -> 802816 bytes 47 files changed, 872 insertions(+), 393 deletions(-) diff --git a/classes/db_sql.php b/classes/db_sql.php index 30f3d18..de8e110 100644 --- a/classes/db_sql.php +++ b/classes/db_sql.php @@ -161,5 +161,12 @@ abstract class DB_SQL { * @return string */ abstract public function sequence_list(); + + /** + * Return sql to list database field types + * + * @return string + */ + abstract public function type_list(); } // End of db_sql.php \ No newline at end of file diff --git a/classes/query_builder.php b/classes/query_builder.php index 257874f..0ab4a7f 100644 --- a/classes/query_builder.php +++ b/classes/query_builder.php @@ -802,7 +802,7 @@ class Query_Builder { */ public function join($table, $condition, $type='') { - // @todo make able to handle operators without spaces + // TODO make able to handle operators without spaces $table = implode(" ", array_map(array($this->db, 'quote_ident'), explode(' ', trim($table)))); //$condition = preg_replace('`(\W)`', " $1 ", $condition); diff --git a/docs/classes/DB_PDO.html b/docs/classes/DB_PDO.html index 9a13f0e..02d41a8 100644 --- a/docs/classes/DB_PDO.html +++ b/docs/classes/DB_PDO.html @@ -34,7 +34,9 @@
  •  Errors  0
  •  Markers  -
    • +
    •  Deprecated elements  0
    • @@ -678,7 +680,7 @@ the connection/database
      + generated on 2012-05-07T16:05:47-04:00.
      diff --git a/docs/classes/DB_Reg.html b/docs/classes/DB_Reg.html index 8ef392c..00f800e 100644 --- a/docs/classes/DB_Reg.html +++ b/docs/classes/DB_Reg.html @@ -34,7 +34,9 @@
    •  Errors  0
    •  Markers  -
      • +
      •  Deprecated elements  0
      • @@ -151,7 +153,7 @@ and organizes database connections

        + generated on 2012-05-07T16:05:47-04:00.
        diff --git a/docs/classes/DB_SQL.html b/docs/classes/DB_SQL.html index 8f600cf..f1903fc 100644 --- a/docs/classes/DB_SQL.html +++ b/docs/classes/DB_SQL.html @@ -34,7 +34,9 @@
      •  Errors  0
      •  Markers  -
        • +
        •  Deprecated elements  0
        • @@ -70,6 +72,7 @@
        • Returns sql to list system tables
          system_table_list()
        • Returns sql to list tables
          table_list()
        • Returns sql to list triggers
          trigger_list()
        • +
        • Return sql to list database field types
          type_list()
        • Returns sql to list views
          view_list()
        • @@ -251,6 +254,16 @@
          string
          +
          +

          Return sql to list database field types

          +
          type_list() : string
          +
          +
          +

          +

          Returns

          +
          string
          +
          +

          Returns sql to list views

          view_list() : string
          @@ -268,7 +281,7 @@
          + generated on 2012-05-07T16:05:47-04:00.
          diff --git a/docs/classes/DB_Util.html b/docs/classes/DB_Util.html index b212d9b..4e3c5a3 100644 --- a/docs/classes/DB_Util.html +++ b/docs/classes/DB_Util.html @@ -34,7 +34,9 @@
        •  Errors  0
        •  Markers  -
          • +
          •  Deprecated elements  0
          • @@ -208,7 +210,7 @@
            + generated on 2012-05-07T16:05:47-04:00.
            diff --git a/docs/classes/Firebird.html b/docs/classes/Firebird.html index 0e6d5e7..cf6ca7e 100644 --- a/docs/classes/Firebird.html +++ b/docs/classes/Firebird.html @@ -34,7 +34,9 @@
          •  Errors  0
          •  Markers  -
            • +
            •  Deprecated elements  0
            • @@ -832,7 +834,7 @@ the last query executed
              + generated on 2012-05-07T16:05:47-04:00.
              diff --git a/docs/classes/Firebird_Result.html b/docs/classes/Firebird_Result.html index dcf50ce..1713a5f 100644 --- a/docs/classes/Firebird_Result.html +++ b/docs/classes/Firebird_Result.html @@ -34,7 +34,9 @@
            •  Errors  0
            •  Markers  -
              • +
              •  Deprecated elements  0
              • @@ -503,7 +505,7 @@ the query
                + generated on 2012-05-07T16:05:47-04:00.
                diff --git a/docs/classes/Firebird_SQL.html b/docs/classes/Firebird_SQL.html index d2b23b7..f55d271 100644 --- a/docs/classes/Firebird_SQL.html +++ b/docs/classes/Firebird_SQL.html @@ -34,7 +34,9 @@
              •  Errors  0
              •  Markers  -
                • +
                •  Deprecated elements  0
                • @@ -71,6 +73,7 @@
                • Returns sql to list system tables
                  system_table_list()
                • Returns sql to list tables
                  table_list()
                • Returns sql to list triggers
                  trigger_list()
                • +
                • SQL to show list of field types
                  type_list()
                • Returns sql to list views
                  view_list()
                • @@ -279,6 +282,16 @@
                  string
                  +
                  +

                  SQL to show list of field types

                  +
                  type_list() : string
                  +
                  +
                  +

                  +

                  Returns

                  +
                  string
                  +
                  +

                  Returns sql to list views

                  view_list() : string
                  @@ -296,7 +309,7 @@
                  + generated on 2012-05-07T16:05:47-04:00.
                  diff --git a/docs/classes/Firebird_Util.html b/docs/classes/Firebird_Util.html index 560601c..1003884 100644 --- a/docs/classes/Firebird_Util.html +++ b/docs/classes/Firebird_Util.html @@ -34,7 +34,9 @@
                •  Errors  0
                •  Markers  -
                  • +
                  •  Deprecated elements  0
                  • @@ -211,7 +213,7 @@
                    + generated on 2012-05-07T16:05:47-04:00.
                    diff --git a/docs/classes/MySQL.html b/docs/classes/MySQL.html index 2fb64c3..91dedf1 100644 --- a/docs/classes/MySQL.html +++ b/docs/classes/MySQL.html @@ -34,7 +34,9 @@
                  •  Errors  0
                  •  Markers  -
                    • +
                    •  Deprecated elements  0
                    • @@ -868,7 +870,7 @@ the connection/database
                      + generated on 2012-05-07T16:05:47-04:00.
                      diff --git a/docs/classes/MySQL_SQL.html b/docs/classes/MySQL_SQL.html index 4bfeca4..62c0fca 100644 --- a/docs/classes/MySQL_SQL.html +++ b/docs/classes/MySQL_SQL.html @@ -34,7 +34,9 @@
                    •  Errors  0
                    •  Markers  -
                      • +
                      •  Deprecated elements  0
                      • @@ -70,6 +72,7 @@
                      • Overridden in MySQL class
                        system_table_list()
                      • Returns sql to list tables
                        table_list()
                      • Returns sql to list triggers
                        trigger_list()
                      • +
                      • SQL to show list of field types
                        type_list()
                      • Returns sql to list views
                        view_list()
                      • @@ -263,6 +266,16 @@
                        string
                        +
                        +

                        SQL to show list of field types

                        +
                        type_list() : string
                        +
                        +
                        +

                        +

                        Returns

                        +
                        string
                        +
                        +

                        Returns sql to list views

                        view_list() : string
                        @@ -280,7 +293,7 @@
                        + generated on 2012-05-07T16:05:47-04:00.
                        diff --git a/docs/classes/MySQL_Util.html b/docs/classes/MySQL_Util.html index 2df4ad0..30caedf 100644 --- a/docs/classes/MySQL_Util.html +++ b/docs/classes/MySQL_Util.html @@ -34,7 +34,9 @@
                      •  Errors  0
                      •  Markers  -
                        • +
                        •  Deprecated elements  0
                        • @@ -207,7 +209,7 @@
                          + generated on 2012-05-07T16:05:47-04:00.
                          diff --git a/docs/classes/ODBC.html b/docs/classes/ODBC.html index b27bfda..d0823ce 100644 --- a/docs/classes/ODBC.html +++ b/docs/classes/ODBC.html @@ -34,7 +34,9 @@
                        •  Errors  0
                        •  Markers  -
                          • +
                          •  Deprecated elements  0
                          • @@ -870,7 +872,7 @@ the connection/database
                            + generated on 2012-05-07T16:05:47-04:00.
                            diff --git a/docs/classes/ODBC_SQL.html b/docs/classes/ODBC_SQL.html index 3de8284..691171f 100644 --- a/docs/classes/ODBC_SQL.html +++ b/docs/classes/ODBC_SQL.html @@ -34,7 +34,9 @@
                          •  Errors  0
                          •  Markers  -
                            • +
                            •  Deprecated elements  0
                            • @@ -70,6 +72,7 @@
                            • Returns sql to list system tables
                              system_table_list()
                            • Returns sql to list tables
                              table_list()
                            • Returns sql to list triggers
                              trigger_list()
                            • +
                            • SQL to show list of field types
                              type_list()
                            • Returns sql to list views
                              view_list()
                            • @@ -263,6 +266,16 @@
                              FALSE
                              +
                              +

                              SQL to show list of field types

                              +
                              type_list() : FALSE
                              +
                              +
                              +

                              +

                              Returns

                              +
                              FALSE
                              +
                              +

                              Returns sql to list views

                              view_list() : FALSE
                              @@ -280,7 +293,7 @@
                              + generated on 2012-05-07T16:05:47-04:00.
                              diff --git a/docs/classes/ODBC_Util.html b/docs/classes/ODBC_Util.html index d90cd2d..e7fa3f3 100644 --- a/docs/classes/ODBC_Util.html +++ b/docs/classes/ODBC_Util.html @@ -34,7 +34,9 @@
                            •  Errors  0
                            •  Markers  -
                              • +
                              •  Deprecated elements  0
                              • @@ -202,7 +204,7 @@
                                + generated on 2012-05-07T16:05:47-04:00.
                                diff --git a/docs/classes/PgSQL.html b/docs/classes/PgSQL.html index cdcd8db..2c57138 100644 --- a/docs/classes/PgSQL.html +++ b/docs/classes/PgSQL.html @@ -34,7 +34,9 @@
                              •  Errors  0
                              •  Markers  -
                                • +
                                •  Deprecated elements  0
                                • @@ -870,7 +872,7 @@ the connection/database
                                  + generated on 2012-05-07T16:05:47-04:00.
                                  diff --git a/docs/classes/PgSQL_SQL.html b/docs/classes/PgSQL_SQL.html index c2be711..896f077 100644 --- a/docs/classes/PgSQL_SQL.html +++ b/docs/classes/PgSQL_SQL.html @@ -34,7 +34,9 @@
                                •  Errors  0
                                •  Markers  -
                                  • +
                                  •  Deprecated elements  0
                                  • @@ -71,6 +73,7 @@
                                  • Returns sql to list system tables
                                    system_table_list()
                                  • Returns sql to list tables
                                    table_list()
                                  • Returns sql to list triggers
                                    trigger_list()
                                  • +
                                  • SQL to show list of field types
                                    type_list()
                                  • Returns sql to list views
                                    view_list()
                                  • @@ -279,6 +282,16 @@
                                    string
                                    +
                                    +

                                    SQL to show list of field types

                                    +
                                    type_list() : string
                                    +
                                    +
                                    +

                                    +

                                    Returns

                                    +
                                    string
                                    +
                                    +

                                    Returns sql to list views

                                    view_list() : string
                                    @@ -296,7 +309,7 @@
                                    + generated on 2012-05-07T16:05:47-04:00.
                                    diff --git a/docs/classes/PgSQL_Util.html b/docs/classes/PgSQL_Util.html index e124d16..ede2726 100644 --- a/docs/classes/PgSQL_Util.html +++ b/docs/classes/PgSQL_Util.html @@ -34,7 +34,9 @@
                                  •  Errors  0
                                  •  Markers  -
                                    • +
                                    •  Deprecated elements  0
                                    • @@ -207,7 +209,7 @@
                                      + generated on 2012-05-07T16:05:47-04:00.
                                      diff --git a/docs/classes/Query_Builder.html b/docs/classes/Query_Builder.html index eab9d1b..2d09b6a 100644 --- a/docs/classes/Query_Builder.html +++ b/docs/classes/Query_Builder.html @@ -34,7 +34,9 @@
                                    •  Errors  0
                                    •  Markers  -
                                      • +
                                      •  Deprecated elements  0
                                      • @@ -1221,7 +1223,7 @@ for complex select queries
                                        + generated on 2012-05-07T16:05:47-04:00.
                                        diff --git a/docs/classes/SQLite.html b/docs/classes/SQLite.html index 2d61922..d9fbb72 100644 --- a/docs/classes/SQLite.html +++ b/docs/classes/SQLite.html @@ -34,7 +34,9 @@
                                      •  Errors  0
                                      •  Markers  -
                                        • +
                                        •  Deprecated elements  0
                                        • @@ -885,7 +887,7 @@ method if the database does not support 'TRUNCATE';
                                          + generated on 2012-05-07T16:05:47-04:00.
                                          diff --git a/docs/classes/SQLite_SQL.html b/docs/classes/SQLite_SQL.html index 247a4b4..ce00780 100644 --- a/docs/classes/SQLite_SQL.html +++ b/docs/classes/SQLite_SQL.html @@ -34,7 +34,9 @@
                                        •  Errors  0
                                        •  Markers  -
                                          • +
                                          •  Deprecated elements  0
                                          • @@ -70,6 +72,7 @@
                                          • Overridden in SQLite class
                                            system_table_list()
                                          • Returns sql to list tables
                                            table_list()
                                          • Returns sql to list triggers
                                            trigger_list()
                                          • +
                                          • SQL to show list of field types
                                            type_list()
                                          • Returns sql to list views
                                            view_list()
                                          • @@ -263,6 +266,16 @@
                                            FALSE
                                            +
                                            +

                                            SQL to show list of field types

                                            +
                                            type_list() : string
                                            +
                                            +
                                            +

                                            +

                                            Returns

                                            +
                                            string
                                            +
                                            +

                                            Returns sql to list views

                                            view_list() : string
                                            @@ -280,7 +293,7 @@
                                            + generated on 2012-05-07T16:05:47-04:00.
                                            diff --git a/docs/classes/SQLite_Util.html b/docs/classes/SQLite_Util.html index 815414e..fd6fdb8 100644 --- a/docs/classes/SQLite_Util.html +++ b/docs/classes/SQLite_Util.html @@ -34,7 +34,9 @@
                                          •  Errors  0
                                          •  Markers  -
                                            • +
                                            •  Deprecated elements  0
                                            • @@ -207,7 +209,7 @@
                                              + generated on 2012-05-07T16:05:47-04:00.
                                              diff --git a/docs/classes/Settings.html b/docs/classes/Settings.html index 798728b..2065950 100644 --- a/docs/classes/Settings.html +++ b/docs/classes/Settings.html @@ -34,7 +34,9 @@
                                            •  Errors  0
                                            •  Markers  -
                                              • +
                                              •  Deprecated elements  0
                                              • @@ -243,7 +245,7 @@ directly - the settings should be safe!
                                                + generated on 2012-05-07T16:05:47-04:00.
                                                diff --git a/docs/deprecated.html b/docs/deprecated.html index 7104a71..9a0c435 100644 --- a/docs/deprecated.html +++ b/docs/deprecated.html @@ -34,7 +34,9 @@
                                              •  Errors  0
                                              •  Markers  -
                                                • +
                                                •  Deprecated elements  0
                                                • @@ -66,7 +68,7 @@
                                                  + generated on 2012-05-07T16:05:47-04:00.
                                                  diff --git a/docs/errors.html b/docs/errors.html index 071d04a..fd7c4b6 100644 --- a/docs/errors.html +++ b/docs/errors.html @@ -34,7 +34,9 @@
                                                •  Errors  0
                                                •  Markers  -
                                                  • +
                                                  •  Deprecated elements  0
                                                  • @@ -92,7 +94,7 @@
                                                    + generated on 2012-05-07T16:05:47-04:00.
                                                    diff --git a/docs/graph_class.html b/docs/graph_class.html index 2f6cd2f..fd2c555 100644 --- a/docs/graph_class.html +++ b/docs/graph_class.html @@ -34,7 +34,9 @@
                                                  •  Errors  0
                                                  •  Markers  -
                                                    • +
                                                    •  Deprecated elements  0
                                                    • @@ -63,7 +65,7 @@
                                                      + generated on 2012-05-07T16:05:47-04:00.
                                                      diff --git a/docs/markers.html b/docs/markers.html index 0ab7fa7..e13c6c4 100644 --- a/docs/markers.html +++ b/docs/markers.html @@ -34,7 +34,9 @@
                                                    •  Errors  0
                                                    •  Markers  -
                                                      • +
                                                      •  Deprecated elements  0
                                                      • @@ -49,7 +51,19 @@ if Javascript is enabled.
                                                        -
                                                        +
                                                        -
                                                        No markers have been found in this project.
                                                        The following markers were found: -
                                                          +
                                                          • todo  + 10 +
                                                          +
                                                          +
                                                          +
                                                          +

                                                          +classes/query_builder.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo805make able to handle operators without spaces
                                                          +
                                                          +
                                                          +

                                                          +drivers/pgsql/pgsql_sql.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo222implement type_list method
                                                          +
                                                          +
                                                          +

                                                          +drivers/pgsql/pgsql_util.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo114Implement Backup function
                                                          +
                                                          +
                                                          +

                                                          +drivers/pgsql/pgsql_driver.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo46Implement
                                                          +
                                                          +
                                                          +

                                                          +drivers/mysql/mysql_util.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo127Implement Backup function
                                                          +
                                                          +
                                                          +

                                                          +drivers/mysql/mysql_driver.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo57Implement
                                                          +
                                                          +
                                                          +

                                                          +drivers/mysql/mysql_sql.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo160implement type_list method
                                                          +
                                                          +
                                                          +

                                                          +drivers/sqlite/sqlite_sql.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo166implement type_list method
                                                          +
                                                          +
                                                          +

                                                          +drivers/firebird/firebird_sql.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo250implement type_list method
                                                          +
                                                          +
                                                          +

                                                          +drivers/firebird/firebird_util.php1 +

                                                          +
                                                          + + + + + + + + + + +
                                                          TypeLineDescription
                                                          todo117Implement Backup structure function
                                                          +
                                                          -
                                                          + generated on 2012-05-07T16:05:47-04:00.
                                                          diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index e3950d4..4a396ca 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -34,7 +34,9 @@
                                                        •  Errors  0
                                                        •  Markers  -
                                                          • +
                                                          •  Deprecated elements  0
                                                          • @@ -282,7 +284,7 @@ instantiates the specific db driver

                                                            + generated on 2012-05-07T16:05:46-04:00.
                                                            diff --git a/docs/packages/.html b/docs/packages/.html index 2ec6382..0cfabf1 100644 --- a/docs/packages/.html +++ b/docs/packages/.html @@ -34,7 +34,9 @@
                                                          •  Errors  0
                                                          •  Markers  -
                                                            • +
                                                            •  Deprecated elements  0
                                                            • @@ -66,7 +68,7 @@
                                                              + generated on 2012-05-07T16:05:46-04:00.
                                                              diff --git a/docs/packages/Default.html b/docs/packages/Default.html index 140bace..f8ad942 100644 --- a/docs/packages/Default.html +++ b/docs/packages/Default.html @@ -34,7 +34,9 @@
                                                            •  Errors  0
                                                            •  Markers  -
                                                              • +
                                                              •  Deprecated elements  0
                                                              • @@ -93,7 +95,7 @@
                                                                + generated on 2012-05-07T16:05:46-04:00.
                                                                diff --git a/docs/packages/Query.Drivers.html b/docs/packages/Query.Drivers.html index 1bb5ad3..bb55d0b 100644 --- a/docs/packages/Query.Drivers.html +++ b/docs/packages/Query.Drivers.html @@ -34,7 +34,9 @@
                                                              •  Errors  0
                                                              •  Markers  -
                                                                • +
                                                                •  Deprecated elements  0
                                                                • @@ -210,7 +212,7 @@ data-fetching methods

                                                                  + generated on 2012-05-07T16:05:46-04:00.
                                                                  diff --git a/docs/packages/Query.Helper Classes.html b/docs/packages/Query.Helper Classes.html index 2264685..6698faf 100644 --- a/docs/packages/Query.Helper Classes.html +++ b/docs/packages/Query.Helper Classes.html @@ -34,7 +34,9 @@
                                                                •  Errors  0
                                                                •  Markers  -
                                                                  • +
                                                                  •  Deprecated elements  0
                                                                  • @@ -96,7 +98,7 @@
                                                                    + generated on 2012-05-07T16:05:46-04:00.
                                                                    diff --git a/docs/packages/Query.Query.html b/docs/packages/Query.Query.html index b910e6c..69e1c95 100644 --- a/docs/packages/Query.Query.html +++ b/docs/packages/Query.Query.html @@ -34,7 +34,9 @@
                                                                  •  Errors  0
                                                                  •  Markers  -
                                                                    • +
                                                                    •  Deprecated elements  0
                                                                    • @@ -114,7 +116,7 @@ instantiates the specific db driver

                                                                      + generated on 2012-05-07T16:05:46-04:00.
                                                                      diff --git a/docs/packages/Query.html b/docs/packages/Query.html index 0407615..b7f9a34 100644 --- a/docs/packages/Query.html +++ b/docs/packages/Query.html @@ -34,7 +34,9 @@
                                                                    •  Errors  0
                                                                    •  Markers  -
                                                                      • +
                                                                      •  Deprecated elements  0
                                                                      • @@ -315,7 +317,7 @@ instantiates the specific db driver

                                                                        + generated on 2012-05-07T16:05:46-04:00.
                                                                        diff --git a/docs/structure.xml b/docs/structure.xml index 57546f1..cd14f76 100644 --- a/docs/structure.xml +++ b/docs/structure.xml @@ -297,7 +297,7 @@ directly - the settings should be safe!]]> - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -508,6 +508,17 @@ directly - the settings should be safe!]]>
                                                                        + + type_list + function + + + + + string + + +
                                                                        @@ -953,7 +964,7 @@ the connection/database]]> - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -963,6 +974,9 @@ the connection/database]]>
                                                                        + + make able to handle operators without spaces + Query_Builder \Query_Builder @@ -1162,1173 +1176,1173 @@ for complex select queries]]> - + select function - + - + string - + \$this - + $fields - + _select function - + - + string - + string - + string - + $field - + $as - + select_max function - + - + string - + string - + \$this - + $field - + $as - + select_min function - + - + string - + string - + \$this - + $field - + $as - + select_avg function - + - + string - + string - + \$this - + $field - + $as - + select_sum function - + - + string - + string - + \$this - + $field - + $as - + distinct function - + - + \$this - + from function - + - + string - + \$this - + $dbname - + _like function - + - + string - + mixed - + string - + string - + string - + \$this - + $field - + $val - + $pos - + $like - + $conj - + like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + or_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + not_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + or_not_like function - + - + string - + mixed - + string - + \$this - + $field - + $val - + $pos - + _having function - + - + mixed - + mixed - + string - + \$this - + $key - + $val - + $conj - + having function - + - + mixed - + mixed - + \$this - + $key - + $val - + or_having function - + - + mixed - + mixed - + \$this - + $key - + $val - + _where function - + - + mixed - + mixed - + array - + $key - + $val - + _where_string function - + - + mixed - + mixed - + string - + \$this - + $key - + $val - + $conj - + _where_in function - + - + mixed - + mixed - - - + + + \$this - + $key - + $val - + $in - + $conj - + where function - + - + mixed - + mixed - + \$this - + $key - + $val - + or_where function - + - + string - + mixed - + \$this - + $key - + $val - + where_in function - + - + mixed - + mixed - + \$this - + $field - + $val - + or_where_in function - + - + string - + mixed - + \$this - + $field - + $val - + where_not_in function - + - + string - + mixed - + \$this - + $field - + $val - + or_where_not_in function - + - + string - + mixed - + \$this - + $field - + $val - + set function - + - + mixed - + mixed - + \$this - + $key - + $val - + join function - + - + string - + string - + string - + \$this - + $table - + $condition - + $type - + group_by function - + - + mixed - + \$this - + $field - + order_by function - + - + string - + string - + \$this - + $field - + $type - + limit function - + - + int - + int - + string - + $limit - + $offset - + group_start function - + - + \$this - + or_group_start function - + - + \$this - + or_not_group_start function - + - + \$this - + group_end function - + - + \$this - + get function - + - - + + int - + int - + object - + $table - + $limit - + $offset - + get_where function - + - + string - + array - + int - + int - + object - + $table - + $where - + $limit - + $offset - + count_all function - + - + string - + int - + $table - + count_all_results function - + - + string - + int - + $table - + insert function - + - + string - + mixed - + mixed - + $table - + $data - + update function - + - + string - + mixed - + mixed - + $table - + $data - + delete function - + - + string - + mixed - + mixed - + $table - + $where - + __call function - + - + string - + array - + mixed - + $name - + $params - + _reset function - + - + void - + _compile function - + - + string - + string - + \$string - + $type - + $table @@ -2568,7 +2582,7 @@ with array_map and glob]]>
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -2577,6 +2591,9 @@ with array_map and glob]]>
                                                                        + + implement type_list method + PgSQL_SQL \PgSQL_SQL @@ -2740,9 +2757,20 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -2752,6 +2780,9 @@ with array_map and glob]]>
                                                                        + + Implement Backup function + PgSQL_Util \PgSQL_Util @@ -2875,7 +2906,7 @@ with array_map and glob]]>
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -2885,6 +2916,9 @@ with array_map and glob]]>
                                                                        + + Implement + PgSQL \PgSQL @@ -3105,7 +3139,7 @@ with array_map and glob]]>
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -3259,6 +3293,17 @@ with array_map and glob]]>
                                                                        + + type_list + function + + + + + FALSE + + +
                                                                        @@ -3369,7 +3414,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -3379,6 +3424,9 @@ with array_map and glob]]>
                                                                        + + Implement Backup function + MySQL_Util \MySQL_Util @@ -3502,7 +3550,7 @@ with array_map and glob]]>
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -3512,6 +3560,9 @@ with array_map and glob]]>
                                                                        + + Implement + MySQL \MySQL @@ -3607,7 +3658,7 @@ with array_map and glob]]>
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -3617,6 +3668,9 @@ with array_map and glob]]>
                                                                        + + implement type_list method + MySQL_SQL \MySQL_SQL @@ -3761,6 +3815,17 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                        @@ -4055,7 +4120,7 @@ with array_map and glob]]> - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -4065,6 +4130,9 @@ with array_map and glob]]>
                                                                        + + implement type_list method + SQLite_SQL \SQLite_SQL @@ -4209,9 +4277,20 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                        - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -4221,6 +4300,9 @@ with array_map and glob]]>
                                                                        + + implement type_list method + Firebird_SQL \Firebird_SQL @@ -4384,6 +4466,17 @@ with array_map and glob]]> + + type_list + function + + + + + string + + +
                                                                        @@ -5078,7 +5171,7 @@ the last query executed]]> - + Free Query Builder / Database Abstraction Layer

                                                                        ]]>
                                                                        @@ -5088,6 +5181,9 @@ the last query executed]]>
                                                                        + + Implement Backup structure function + Firebird_Util \Firebird_Util @@ -5227,7 +5323,7 @@ the last query executed]]> - todo + todo fixme diff --git a/drivers/firebird/firebird_sql.php b/drivers/firebird/firebird_sql.php index ff721e9..7cb0752 100644 --- a/drivers/firebird/firebird_sql.php +++ b/drivers/firebird/firebird_sql.php @@ -237,6 +237,18 @@ SQL; ORDER BY r.RDB\$FIELD_POSITION SQL; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return string + */ + public function type_list() + { + // TODO implement type_list method + } } //End of firebird_sql.php \ No newline at end of file diff --git a/drivers/firebird/firebird_util.php b/drivers/firebird/firebird_util.php index 71c3d46..7688827 100644 --- a/drivers/firebird/firebird_util.php +++ b/drivers/firebird/firebird_util.php @@ -114,7 +114,7 @@ class Firebird_Util extends DB_Util { */ public function backup_structure() { - // @todo Implement Backup structure function + // TODO Implement Backup structure function return ''; } diff --git a/drivers/mysql/mysql_driver.php b/drivers/mysql/mysql_driver.php index 9311ea7..a8dd9f1 100644 --- a/drivers/mysql/mysql_driver.php +++ b/drivers/mysql/mysql_driver.php @@ -54,7 +54,7 @@ class MySQL extends DB_PDO { */ public function switch_db($name) { - // @todo Implement + // TODO Implement return FALSE; } diff --git a/drivers/mysql/mysql_sql.php b/drivers/mysql/mysql_sql.php index 24a68e4..9d0ad04 100644 --- a/drivers/mysql/mysql_sql.php +++ b/drivers/mysql/mysql_sql.php @@ -147,5 +147,17 @@ class MySQL_SQL extends DB_SQL { { return FALSE; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return string + */ + public function type_list() + { + // TODO implement type_list method + } } //End of mysql_sql.php \ No newline at end of file diff --git a/drivers/mysql/mysql_util.php b/drivers/mysql/mysql_util.php index 7af8395..a6f36b1 100644 --- a/drivers/mysql/mysql_util.php +++ b/drivers/mysql/mysql_util.php @@ -124,7 +124,7 @@ class MySQL_Util extends DB_Util { */ public function backup_structure() { - // @todo Implement Backup function + // TODO Implement Backup function return ''; } diff --git a/drivers/odbc/odbc_sql.php b/drivers/odbc/odbc_sql.php index 87468cf..9c451f3 100644 --- a/drivers/odbc/odbc_sql.php +++ b/drivers/odbc/odbc_sql.php @@ -141,5 +141,17 @@ class ODBC_SQL extends DB_SQL { { return FALSE; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return FALSE + */ + public function type_list() + { + return FALSE; + } } // End of odbc_sql.php \ No newline at end of file diff --git a/drivers/pgsql/pgsql_driver.php b/drivers/pgsql/pgsql_driver.php index df8bebf..a0ac49e 100644 --- a/drivers/pgsql/pgsql_driver.php +++ b/drivers/pgsql/pgsql_driver.php @@ -43,7 +43,7 @@ class PgSQL extends DB_PDO { */ public function switch_db($name) { - // @todo Implement + // TODO Implement return FALSE; } diff --git a/drivers/pgsql/pgsql_sql.php b/drivers/pgsql/pgsql_sql.php index e7ee6b9..2369320 100644 --- a/drivers/pgsql/pgsql_sql.php +++ b/drivers/pgsql/pgsql_sql.php @@ -209,5 +209,17 @@ SQL; ORDER BY ordinal_position; SQL; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return string + */ + public function type_list() + { + // TODO implement type_list method + } } //End of pgsql_manip.php \ No newline at end of file diff --git a/drivers/pgsql/pgsql_util.php b/drivers/pgsql/pgsql_util.php index bd07882..ee631b7 100644 --- a/drivers/pgsql/pgsql_util.php +++ b/drivers/pgsql/pgsql_util.php @@ -111,7 +111,7 @@ class PgSQL_Util extends DB_Util { */ public function backup_structure() { - // @todo Implement Backup function + // TODO Implement Backup function return ''; } diff --git a/drivers/sqlite/sqlite_sql.php b/drivers/sqlite/sqlite_sql.php index d28346f..df15602 100644 --- a/drivers/sqlite/sqlite_sql.php +++ b/drivers/sqlite/sqlite_sql.php @@ -153,6 +153,18 @@ SQL; { return FALSE; } + + // -------------------------------------------------------------------------- + + /** + * SQL to show list of field types + * + * @return string + */ + public function type_list() + { + // TODO implement type_list method + } } //End of sqlite_sql.php \ No newline at end of file diff --git a/tests/db_files/FB_TEST_DB.FDB b/tests/db_files/FB_TEST_DB.FDB index c3d3e5af15f77e316bbe3de99012ca929589838d..3575cf0ca72b7fee0dd0332f0a63a1a53ac26521 100644 GIT binary patch delta 718 zcmY*Wzi-n(6n+=mZSYIftI7}|1Ww|#5g?JM1A;BeP@w|pfS5Zlz{14HU@_d>NJUS; zgv7)GL#bgX6FUa*e*hBiVxJLr@_qi~_ulv2=P2q&QUAJt%f0m${96(u zr(g!B0l;^D04n0?CxDxmKCER8!vQ2zcyG_&1)tM6-SN&Yjkk9nN+pGo6(t=dT_rsw z7nEF7vZ~~Xed)VW{D{54->Ak{yZ+vy>iPRUbYI!e?YYyN6E_cpQB6^asUh=d*| zxXJLxUfIAmbyCY{oF4ozjTXryrdk~<@~pp zv2Je1v)?O)j1K;n)w!(BWi^dwcro{_OW$kahz3VE9N1kORZW?3lGS0r)B(fPt^R0NlI&sqv$ndH@B6?2YLibW;MYw9oVxR7#S5O55w`RaEB0Az-DZme7T0!8Qn7Vv3 zq9y-NOiP7@L0$r;DF_4JkEn+Owqxpu^iOG-&yDG_+rrrH}c})f3Prvg&8bNVJ&`|(0L3q*!x&uA9(ePX`jPT`}rKEhoL(QGFZT$ ze^M2XIg05D*Agl(=*Za^v#uW}bVmk$l+ZO1X}&v)R5{}$t#W~T5!LZ9%~}^p$K+2= H$-Mg)%}K0h