aboutsummaryrefslogblamecommitdiffstats
path: root/lib/sublanguage_types.ml
blob: a8d6077186593e62677eb99a09e80bea1834e620 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                       
 

                                                                                


                                                                        
             
                              
                                  
                           
                           
                              
type cursor_result = {cursor_id: string; rows: Tuple.materialized list; has_more: bool}

(** A Transition delta names every multigroup that the statement touched and the
    updated value for each. Most statements yield a single-element list;
    VCL/SCL/ICL statements may touch more than one. *)
type transition_delta = (string * Management.Multigroup.multigroup) list

type result =
  | Query of Relation.relation
  | Transition of transition_delta
  | Cursor of cursor_result
  | SessionSwitch of string
  | CreateMultigroup of string