I have a model which defines (amongst other things):
class Push(db.Model):
__tablename__ = 'push'
repository = db.Column(db.String)
branch = db.Column(db.String, primary_key=True)
before = db.Column(db.String, primary_key=True)
after = db.Column(db.String, primary_key=True)
On Feb 15, 10:18 am, Michael Bayer <[EMAIL PROTECTED]> wrote:
> Also with Oracle we don't any "implicit" id generation scheme; you
> have to give it something explicitly, either a sequence,
> ColumnDefault, or always provide primary key identifiers explicitly in
> the INSERT parameters.
Thanks! I
On Feb 14, 5:13 pm, Waldemar Osuch <[EMAIL PROTECTED]> wrote:
> On Feb 13, 8:03 pm, Richard Jones <[EMAIL PROTECTED]> wrote:
>
> > I've tried poking through the documentation and source to determine
> > this, but it's still unclear to me how SQLAlchemy
I've tried poking through the documentation and source to determine
this, but it's still unclear to me how SQLAlchemy generates IDs for
new rows in Oracle.
There's support for sequences in the oracle backend, but there don't
appear to be sequences created for my tables.
Richard
--~--~