Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
334 views
in Technique[技术] by (71.8m points)

sql - Flutter sqflite relationships. Get length of a table and set that to column of other table

I have a table called boxes and a table called words. Every word has a box id column that specifies the word is in which box. Every box has a length column. Now I want the box length column value should be equal to the length of words that box id is equal to the box id. I tried to use Foreign key in sqflite but I'm unable to do this.

question from:https://stackoverflow.com/questions/66068808/flutter-sqflite-relationships-get-length-of-a-table-and-set-that-to-column-of-o

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...