Skip to content

Add primary key to sqlite table

1 message · Christian Oswald

#
Hello,

is it possible to add a primary key to a sqlite table with Rsqlite?
Without create a complex query string?

I have tried dbWriteTable but don't found an option to define a field as
primary key.

Has someone suggestions?

Thanks,

Christian