nuodb-python
nuodb-python copied to clipboard
Pure-python SQL driver implementation.
Create a table like this: sql.execute("CREATE TABLE t1_binary ( f1 BINARY, f2 BINARY(5), f3 VARBINARY(5), f4 BINARY LARGE OBJECT, f5 BLOB (5K));") sql.execute("INSERT INTO t1_binary VALUES ('a',0x12345678,'abc','abc','abc');") And then try...
If you pass a unicode object, rather than a str object, to execute() (etc.) then you'll get a bizarre exception from Cryptography: ``` File "nuodb-python/pynuodb/cursor.py", line 120, in execute exec_result...
Statements such as: ``` cursor.execute("SELECT ? FROM DUAL"); cursor.execute("SELECT ?, ? FROM DUAL", []); ``` must fail with an exception such as "wrong number of parameters specified, expected X got...
In the current implementation of the python driver you are unable to insert a date or datetime that has a year prior to 1902 without getting an error. Additionally if...
I know this is true for executemany, not sure if there are other places its not implemented
These are necessary to implement consistency across multiple connections from a particular client, first step is to probably write down somewhere what the rules are and them implement them.
Currently only the default isolation level is supported. Need to add a parameter to pass in to specify the isolation level upon connection to the database.