Conceptual database questions...

Robert Brenstein rjb at robelko.com
Thu May 26 12:57:32 EDT 2005


>On 5/26/05 6:31 PM, "Robert Brenstein" <rjb at robelko.com> wrote:
>
>>>  I did not see a non-SQL way of adding records in the docs for vxcmd. Did
>>>  I miss something, or do we mainly need to rely upon SQL techniques?
>>>
>>
>>  You can use either direct API or SQL. Some projects seem more suited
>>  for the former, others for the latter. Some people have a preference
>  > for one or the other. Some stuff can be done only in SQL, some only
>  > in API. So, use whatever suits or you like. Just mixing the two can
>>  be problematic.
>
>Robert, I wonder why you point API way.
>For VXCMD 1.x it not exists.
>
>As I have point in prev letter
>     Cursor.AddRecord() this is also branch of SQL way.
>
>At least this is terminology we will use in Valentina 2.0
>
>--
>Best regards,
>
>Ruslan Zasukhin

IMHO AddRecord is direct API even though I need to first create 
cursor using SQL. How else would you call those functions? They are 
not SQL calls.

Using SQL insert, update etc is a pure SQL way. There is just no pure 
direct API in 1.x. We'll see what we get in V2.

Robert


More information about the use-livecode mailing list