I haven't tested your patch or backend and only have a few comments on 
implementation ideas for a custom database backend.

On Monday, July 9, 2012 11:25:47 AM UTC-4, Gijs Molenaar wrote:
>
>
> These problems are:
>  * MonetDB supports a Decimal type with a maximum length of 18 digits.
>

Override DatabaseOperations.value_to_db_decimal and clamp the max_digits to 
18. I'm not sure if you'll need other modifications.
 

>  * No support for hyphens in column names
>

Hyphens are not allowed even when the column name is quoted? If so, strip 
then you can strip them out in DatabaseOperations.quote_name.
 

>  * No support for != operation (only <>).
>

You'll need to provide your own SQLCompiler and do the substitution there. 
You can look at django-mssql's implementation [1] as an example.

[1] 
https://bitbucket.org/Manfre/django-mssql/src/eff1ed275fdd/sqlserver_ado/compiler.py


Regards,
Michael Manfre

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/e40h8NaEZZIJ.
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/django-developers?hl=en.

Reply via email to