Comments (13)
Is there any news about supporting Firebird 3?
from django-firebird.
Hi Antonio,
I'm glad that it be useful for you.
Currently, the current version (in master branch) is based in django 1.9, I don't tested it in django 1.10. I hope this year to invest more time in this project, maybe jumping directly to 1.11 witch is the next django LTS release and then to 2.0
The update to firebird 3.x perhaps imply broken the compatibility with firebird 2, so this need more research.
Of course, PR are always welcome 😃
Best regards.
Maxi.
from django-firebird.
Hi @Ribeiroti I'm working on it right now. I hope to have news soon.
Regards
from django-firebird.
Hello,
cual es la compatibilidad para usar Firebird 3.02 ??
Gracias
from django-firebird.
Hola,
https://www.firebirdsql.org/file/documentation/release_notes/html/en/3_0/rnfb30-compat-systables.html
https://www.firebirdsql.org/file/documentation/release_notes/html/en/3_0/rnfb30-ddl-enhance.html
SQL> show version;
ISQL Version: LI-V3.0.1.32609 Firebird 3.0
Server version:
Firebird/Linux/Intel/i386 (access method), version "LI-V3.0.1.32609 Firebird 3.0"
on disk structure version 12.0
Saludos y gracias,
D
from django-firebird.
Hi @davevt,
Firebird 3 is not supported yet.
Regards.
from django-firebird.
Hi Maxi,
I have used Firebird 3.02 and Django 1.10 on django-firebird and it's working very well in production. But just only to query and to change data somefield in database. It's saving the data no problems. I will a lot use the django-firebird, there are plan to support and keep on that driver?
Regards,
Antonio.
from django-firebird.
Is there any news about supporting Firebird 3?
I managed to find a "solution" but I haven't verified the side effects of it.
from django-firebird.
Hello. Please show your solution
from django-firebird.
into schema.py
def _alter_column_set_null(self, table_name, column_name, is_null):
fb_ver = str(self.connection.connection.engine_version).split('.')
if fb_ver and len(fb_ver) > 0 and int(fb_ver[0]) >= 3:
sql = "ALTER TABLE %(table_name)s ALTER %(column)s %(null_flag)s NOT NULL"
null_flag = 'DROP' if is_null else 'SET'
else:
sql = """
UPDATE RDB$RELATION_FIELDS SET RDB$NULL_FLAG = %(null_flag)s
WHERE RDB$FIELD_NAME = '%(column)s'
AND RDB$RELATION_NAME = '%(table_name)s'
"""
null_flag = 'NULL' if is_null else '1'
return sql % {
'null_flag': null_flag,
'column': column_name.upper(),
'table_name': table_name.upper()
}
from django-firebird.
Hi @maxirobaina @toshiroakio Firebird 3.0 is not yet supported?
from django-firebird.
from django-firebird.
Some of the Firebird 3 issues are fixed by #111
I guess this can be closed
from django-firebird.
Related Issues (20)
- Support firebird dialect 1. HOT 1
- TypeError at operations.convert_decimalfield_value HOT 2
- BinaryField() does not save like stream HOT 2
- add support for firebird 3 / python 3 driver HOT 1
- Does the lib work on windows? HOT 1
- Error al conectar firebird + django 3.2.6.0 HOT 7
- Django 3.2 and firebird 3 error connection HOT 1
- 'float' object has no attribute 'quantize' HOT 1
- Django 4 and Firebird 4 support HOT 1
- Time to rename django-firebird python package HOT 2
- Error on django3 with BOOL fields HOT 1
- KeyError: 'deferrable' HOT 2
- CREATE PROCEDURE DJANGO_SITE_RS failed
- TypeError: convert_booleanfield_value() missing 1 required positional argument: 'context' HOT 1
- django migration already exists
- Column unknown tablename.RDB$DB_KEY
- Time for a name change? HOT 1
- virtualenv can't be populated from requirements.txt, asgiref version conflict, upath just won't build (python 3.12, Ubuntu 23.10)
- Tests don't run
- BooleanField and NullBooleanField Constraint for firebird 3+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-firebird.