We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there a way to select "rowid" just like any other field of a table?
orma.selectFromTable()._rowid_Eq(myrowid)....
or update with rowid
orma.updateTablex()._rowid_Eq(myrowid)....
The text was updated successfully, but these errors were encountered:
It's possible if you declare the field.
Sorry, something went wrong.
how can i declare rowid? this is already sqlite internal
Just declare @PrimaryKey long <your favorite name> which is an alias to _rowid_.
@PrimaryKey long <your favorite name>
_rowid_
https://sqlite.org/autoinc.html
If a table contains a column of type INTEGER PRIMARY KEY, then that column becomes an alias for the ROWID.
No branches or pull requests
is there a way to select "rowid" just like any other field of a table?
orma.selectFromTable()._rowid_Eq(myrowid)....
or update with rowid
orma.updateTablex()._rowid_Eq(myrowid)....
The text was updated successfully, but these errors were encountered: