Conversions #573
                  
                    
                      davecramer
                    
                  
                
                  started this conversation in
                General
              
            
            
              Conversions
            
            #573
          
          
        Replies: 2 comments 1 reply
-
| 
         Guess you're asking about a forced cast instead of letting the driver determine the default type. We first parse the value according to the database type and then we return a casted variant via  The downcasting to smaller types comes with precision loss and we do not throw any exceptions in such a case.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         In the case of 10223372036850000000 it doesn't fit into a long ?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
@mp911de
Does r2dbc do conversions from types such as float4 to long ?
If so does it handle 10223372036850000000 properly ? This float is too large for a long.
Beta Was this translation helpful? Give feedback.
All reactions