In fact, i'm trying to read data from a binary file and want to insert
that into the database. I guess, it would be easier and more efficient if
i use some data structure like we have vectors in C++ API.


Thanks,
Ritu Singla



On Thu, 18 Apr 2002, Robert Cross wrote:

> 
> 
> you wrote:
> >I want to know if there is any datatype in MySQL C API which is similar to
> >a structure in C???
> 
> Why? The purpose of the API is to permit use of MySQL as a backend or
> datasource for user-written programs.
> 
> That said, if your table consists of columns of differing types, then any
> the results of any query will be similar to a C struct. In which case
> the "mysql_row" type is probably the closest.
> 
> The easiest answer is to refer to section 8.4.1 of the manual at
> 
>http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C_API_datatypes
> (amongst others)
> 
> Hope this helps.
> 
> Robert Cross.
> 
> 
> 
> 



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to