#11642: Rewrite/improve/fix SQLDatabase and SQLQuery objects
---------------------------+------------------------------------------------
   Reporter:  rohana       |          Owner:  was            
       Type:  defect       |         Status:  positive_review
   Priority:  major        |      Milestone:  sage-4.7.2     
  Component:  databases    |       Keywords:  sqlite         
Work_issues:               |       Upstream:  N/A            
   Reviewer:  Tom Boothby  |         Author:  R. Andrew Ohana
     Merged:               |   Dependencies:  #11640         
---------------------------+------------------------------------------------
Changes (by newvalueoldvalue):

  * dependencies:  => #11640
  * author:  Andrew Ohana => R. Andrew Ohana


Old description:

> Currently the `SQLDatabase` object in sage has a number of bugs (adding
> columns to a database when initializing it, keyword parsing for the
> `SQLQuery.show` method to name a few). There is also some missing
> functionality (uniqueness of non-index columns, columns of unspecified
> types). Also, a lot of code can be refactored/removed.
>
> I've attached 2 patches that depend upon #11640. The is a rewrite of
> these objects, and moves them to `sage.databases.sql_db` and the second
> makes the necessary changes to `sage.graphs.graph_database`.

New description:

 Currently the `SQLDatabase` object in sage has a number of bugs (adding
 columns to a database when initializing it, keyword parsing for the
 `SQLQuery.show` method to name a few). There is also some missing
 functionality (uniqueness of non-index columns, columns of unspecified
 types). Also, a lot of code can be refactored/removed.

 I've attached 2 patches that depend upon #11640. The is a rewrite of these
 objects, and moves them to `sage.databases.sql_db` and the second makes
 the necessary changes to `sage.graphs.graph_database`.

 ----

 Apply
  1. [attachment:trac_11642-graph_database.patch]
  1. [attachment:trac_11642-sql_db.patch]
 to the Sage library.

--

Comment:

 If these patches depend on #11640, then please also add that ticket to the
 ''Dependencies'' field.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11642#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to