dannote / mod-ndb

Automatically exported from code.google.com/p/mod-ndb
0 stars 0 forks source link

Functions #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
dir->updatabale  becomes a structure with ( expr_type , column_name , 
param_name , expr_args).  
args are used if the expression is a function.  (This might be a more 
generalized expression struct, 
also used elsewhere). 

At runtime, if expr_type is constant, use the constant to update the column.
If expr_type is a function, that could include increment, decrement, autoinc, 
timestamp, uuid, etc.

Original issue reported on code.google.com by john.david.duncan on 24 Aug 2007 at 7:58

GoogleCodeExporter commented 9 years ago
Functions should be "loadable."   When you parse a query, look up the function 
in a hash table, and then store a 
pointer in the sql_expr object.   

Original comment by john.david.duncan on 28 Aug 2007 at 6:53

GoogleCodeExporter commented 9 years ago

Original comment by john.david.duncan on 6 Sep 2007 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by john.david.duncan on 8 Sep 2007 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by john.david.duncan on 5 Oct 2007 at 4:45

GoogleCodeExporter commented 9 years ago
The implementation of functions involves some important questions.  For 
starters: is this SQL language 
dynamically typed?  Strictly typed?  

Original comment by john.david.duncan on 4 Nov 2007 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by john.david.duncan on 4 May 2008 at 3:54