Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unhandled Exception: PlatformException(error, Invalid Query. Queries only support having a single array-contains filter., null)
- listProvider = new List(2);
- listProvider[0] = defaultProvider;
- listProvider[1] = defaultDomyProvider;
- /*listCategory = new List(1);
- listCategory[0] = defaultCategory;*/
- Firestore.instance.collection('_products').document().setData({
- 'code': code,
- 'count': count,
- 'description': description,
- 'img': img,
- 'thumbnail': thumbnail,
- 'name': name,
- 'nameLowercase': name.toLowerCase(),
- 'priceSale': priceSale,
- 'pricePurchase': pricePurchase,
- 'provider': listProvider,
- 'category': listCategory, //TODO
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement