On Tue, Apr 20, 2021 at 1:14 PM Mike Bayer wrote:
>
>
> On Tue, Apr 20, 2021, at 1:52 PM, 'Matt Zagrabelny' via sqlalchemy wrote:
>
> Greetings SQLAlchemy,
>
> I'm attempting to use the next_value function to get the (next) value from
> a sequence:
>
> cycle_counter =
On Tue, Apr 20, 2021, at 1:52 PM, 'Matt Zagrabelny' via sqlalchemy wrote:
> Greetings SQLAlchemy,
>
> I'm attempting to use the next_value function to get the (next) value from a
> sequence:
>
> cycle_counter = next_value(Sequence('cycle_seq'))
> print(cycle_counter)
>
>
Greetings SQLAlchemy,
I'm attempting to use the next_value function to get the (next) value from
a sequence:
cycle_counter = next_value(Sequence('cycle_seq'))
print(cycle_counter)
However, the print statement yields:
Does anyone know the correct way to get the value of a
Hello Mike
Thanks for the quick response. Would you mind helping me write a complete
example? It would help me understand compilation better :-) I would also be
happy to turn this into a merge request if you think other people will
benefit from it? I have also converted this into a sqlite example