Create a type in sqlite -


i trying make basket of products , need create type in sqlite like:

create type b_productes object ( id_product integer, quantity integer );

or if can give other solution.thanks

as far know, 1 solution create table of type b_products , use, value main product foreign key, in table 2. hence can link both tables, instead of creating table inside table. think easiest , used method, http://www.w3schools.com/sql/sql_foreignkey.asp hope helps :)


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -