Create and initialize your a directory for your Express application.
$ mkdir node-knex-demo
$ cd node-knex-demo
$ npm init| import { Knex } from 'knex' | |
| export async function up(knex: Knex): Promise<any> { | |
| await knex.schema.createTable('test_setup', (table: Knex.TableBuilder) => { | |
| table.integer('foobar'); | |
| }); | |
| } | |
| export async function down(knex: Knex): Promise<any> { | |
| await knex.schema.dropTable('test_setup'); |
| import React , {Component} from 'react'; | |
| import { View, Text, ScrollView, Dimensions, TouchableOpacity } from 'react-native'; | |
| const isCloseToBottom = ({layoutMeasurement, contentOffset, contentSize}) => { | |
| const paddingToBottom = 20; | |
| return layoutMeasurement.height + contentOffset.y >= | |
| contentSize.height - paddingToBottom; | |
| }; | |
| class TermsAndConditions extends Component{ |
| CREATE TRIGGER person_notify AFTER INSERT OR UPDATE OR DELETE ON income | |
| FOR EACH ROW EXECUTE PROCEDURE notify_trigger( | |
| 'id', | |
| 'email', | |
| 'username' | |
| ); | |
| CREATE TRIGGER income_notify AFTER INSERT OR UPDATE OR DELETE ON income | |
| FOR EACH ROW EXECUTE PROCEDURE notify_trigger( | |
| 'id', |
| 'Install Newtonsoft.json | |
| '----------------------- | |
| ' | |
| 'PM> Install-Package Newtonsoft.Json -Version 6.0.8 | |
| 'Sample Usage | |
| '------------ | |
| 'Dim jsonPost As New JsonPost("http://192.168.254.104:8000") | |
| 'Dim dictData As New Dictionary(Of String, Object) |