Many thanks for your help all, i'm slowly getting my head around it.
I'll post the code once it's finished in case anyone needs it in future
cheers
Matt
On Wed, Aug 1, 2018 at 7:41 AM, sandeep patel
wrote:
> @Mattew J Watts,
> #Model
>
> db.define_table('person',
> Field('n
@Mattew J Watts,
#Model
db.define_table('person',
Field('name'),
Field('age'),
Field('country'),
format='%(name)s')
db.define_table('thing',
Field('person_id,'reference preson')
On Tuesday, July 31, 2018 at 2:24:51 PM UTC-4, pbreit wrote:
>
> I know db.thing.insert will return the ID of the newly created record and
> am pretty sure update_or_insert does as well. I'm not exactly sure how you
> would determine if an update or insert was performed (but perhaps you do
> not
I know db.thing.insert will return the ID of the newly created record and
am pretty sure update_or_insert does as well. I'm not exactly sure how you
would determine if an update or insert was performed (but perhaps you do
not need to know?).
http://web2py.com/books/default/chapter/29/06/the-dat
ps - i'm getting the file locally as i havent worked out the .retrieve:
method yet
On Tuesday, July 31, 2018 at 6:51:41 PM UTC+2, Matthew J Watts wrote:
>
> Hello all
>
> I'm trying to build a .csv data upload facility which will update two
> tables in sequence. So, i have my 'person' table w
5 matches
Mail list logo