package caqti
- Overview
 - No Docs
 
You can search for identifiers within the package.
in-package search v0.2.0
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  Unified interface to relational database libraries
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      caqti-v2.0.1.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b
    
    
  sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4
    
    
  doc/caqti.platform/Caqti_platform/Request_utils/index.html
Module Caqti_platform.Request_utilsSource
Internal request-related utilities.
Queries
linear_param_length templ is the number of linear parameters expected by a query represented by templ.
Source
val linear_param_order : 
  ?env:(string -> Caqti_query.t) ->
  Caqti_query.t ->
  int list list * (int * string) listlinear_param_order templ describes the parameter bindings expected for templ after linearizing parameters and lifting quoted strings out of the query:
- The first is a list where item number 
iis a list of linear parameter positions to which to bind theith incoming parameter. 
- The second is a list of pairs where the first component is the position of the linear parameter taking the place of a quoted string, and the second component is the quoted string to bind to this parameter.
 
All positions are zero-based.
linear_query_string templ is templ where "?" is substituted for parameters and quoted strings.
Parameter Encoding and Row Decoding
Source
type 'a field_encoder = {write_value : 'b. uri:Uri.t -> 'b Caqti_type.Field.t -> 'b -> 'a -> 'a;write_null : 'b. uri:Uri.t -> 'b Caqti_type.Field.t -> 'a -> 'a;
} constraint 'e = [> `Encode_rejected of Caqti_error.coding_error ]Source
type 'a field_decoder = {read_value : 'b. uri:Uri.t -> 'b Caqti_type.Field.t -> 'a -> 'b * 'a;skip_null : int -> 'a -> 'a option;
} constraint 'e = [> `Decode_rejected of Caqti_error.coding_error ] sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page